Results 11 to 15 of 15
You don't have an output rule 5 - do you mean rules 3 & 4?
Looks to me like output 3 is your main problem it's blocking an output stream ...
- 12-10-2007 #11Just Joined!
- Join Date
- Dec 2007
- Posts
- 23
You don't have an output rule 5 - do you mean rules 3 & 4?
Looks to me like output 3 is your main problem it's blocking an output stream on localhost.
Also, my mistake, but switch input rules 6 & 7 (there's no point having an allow after rejecting all).
Look at the listing you added. Iptables rules basically work down through the relvant chain from top to bottom and implement the first rule that matches the packet.
- 12-11-2007 #12Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Sorry for my mistake. They are rules 3 and 4
I can't comment out only rule 3. It complainsCode:# reject all other traffic from localhost iptables -I OUTPUT 3 -j REJECT -s 127.0.0.1 --reject-with icmp-port-unreachable # reject all other traffic from the management interface NIC iptables -I OUTPUT 4 -j REJECT -s 220.232.213.178 --reject-with icmp-port-unreachable
$ sudo /etc/init.d/rc.local startOthers notedCode:* Running local boot scripts (/etc/rc.local) iptables: Index of insertion too big [fail]
B.R.
satimis
- 12-11-2007 #13Just Joined!
- Join Date
- Dec 2007
- Posts
- 23
You probably need to rename insertion 4 to insertion 3
- 12-11-2007 #14Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
- 12-11-2007 #15Just Joined!
- Join Date
- Dec 2007
- Posts
- 23
Whoo hoo
well done


Reply With Quote
