I'm having trouble running iptables using RHEL 6.3.
iptables -A INPUT -p tcp --dport 1234 -j DROP
iptables v1.4.7: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Heres my version of RHEL.
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
And the kernal version.
una
fukawi2 wrote:Do your ip6tables rules allow forwarding?
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
hi , i followed the articale about operating squid as tproxy mode , i mean that the client ips go to internet with thier real ips .my question is ,does centos 2.6 ker... [by squidcentos]
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
My Host Lists of Ettercap is empty when I try to sniff my Lan.
I use MAC address filtering on my Linux router. Here is what I have done:
iptables -A INPUT -i eth5 -m mac --mac-source 00:07:e9:84:2b:99 -j RETURN #User: Someuser
iptables -A INPUT -i eth5 -j DROP
But the Iptables rule list is huge with more than 400 entries. Recently I read about the advantages of using Ipset with Iptables here.
In a RHEL training document, the author says:
...run the following command to disable the firewall on the current system: iptables -F
He explicitly uses the word "disable" which to me suggests that it will be simple to re-enable. In reading the man page though for iptables, I see this:
Flush the selected chain (all the chains in the table if none is given).
I want to allow user to check how many rules are present in filter table, but not able to view actual rules, is that possible?
literally I mean iptables -L | wc -l (I know it's faulty), but sudo doesn't seem to support pipe commands like that, I mean, currently If I wanted to allow that, I need to grant permission to run iptables -L instead of iptables -L | wc -l
Any thoughts?