I have inherited a custom built Linux kernel 2.6.30.9 and am just upgrading the underlying OS from RHEL 5.4 to 5.8 (kernels 2.6.18.164 and 2.6.18.308 respectively).
When booting, the following is displayed:
unloading iptables modules [ OK ]
Applying iptables firewall rules: modprobe: FATAL: module ip-tables not found.
iptables-restore v1.3.5: iptables-restore unable to init
Don't worry.I don't want to be rude, but: Have you tried to turn it off and on again?Iptables rules are volatile unless you save them and set your system to "iptables-restore" at boot.BTW your *nat and *filter tables are empty and set to ACCEPT: they aren't doing a thing.Here is a picture that will help you understand the order in which they are traversedhttp://www.faqs.or
I want to create the logging of iptables DROP's and intrusion attemps.
First, I put --log-prefix "iptables: " at the end of every iptables rules in my iptables rules file. But this doesn't work, as it says there is a syntax error. So where should I put that command?
Hi could could anyone help me understand why line 15 is failing supposedly in my iptables file.
I currently have my OUTPUT chain set to DROP. I'd like to change it to REJECT, so that I have a clue that it's my firewall stopping me from getting somewhere rather than a problem with whatever service I'm attempting to access (immediate reject instead of timing out). However, iptables doesn't seem to care for this.
Hello
I have looked at the manuls and googled for a specific Fedora 16 answer with no luck.
I keep trying to find the right spot to place a iptables command to reload my firewall rules but I can't find any reference.
I am seting up a Centos 5.6 sever. I yum installed webmin successfully,and then I followed webmin's document to add "-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT" to /etc/sysconfig/iptables ,but when I /etc/init.d/iptables restart. I get
Applying iptables firewall rules: iptables-restore: line 1 failed
Any idea?
Possible Duplicate:
iptables: forward port 80 to port 8080
I'd like to forward port 80 to 8080.
So I tried to edit /etc/syscongfig/iptables:
-A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
But got:
# service iptables restart
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK
Had a strange issue this morning.