Blog Archives for category iptable

ip_conntrack: table full, dropping packet

I got the error “ip_conntrack: table full, dropping packet” in my message log. This is because the conntrack database doesn’t… Continue reading »

Redirecting ports using linux IPTABLES

You can easily redirect incoming traffic by inserting rules into PREROUTING chain ofthe nat table. You can set destination port using the REDIRECT… Continue reading »

iptable rule to block an IP from accessing a domain

You can use the following rule to block an IP from accessing a single domain. iptables -I INPUT -s SOURCE_IP… Continue reading »

VPS iptables rule limit

We installed csf firewall in main node and we have following error when try to start firewall [root@csf]# csf -s… Continue reading »

/etc/init.d/iptables: line 268: restorecon: command not found

In a VPS, iptable restart gave the following error Iptables encountered such a problem to save the iptables rules: “iptables:… Continue reading »

iptables save not working

If /etc/init.d/iptables save not working, do the following. Go to /etc/ipt/after.rules Add the rule in the above file. say iptables… Continue reading »