iptables adding rules not in /etc/sysconfig/iptables

Ed Greshko ed.greshko at greshko.com
Fri Oct 31 02:51:58 UTC 2014


On 10/31/14 10:30, jd1008 wrote:
> I disabled firewalld and rebooted. Still ...
>
> # iptables -L -n
> Chain INPUT (policy DROP)
> target     prot opt source destination
> ACCEPT     udp  --  0.0.0.0/0 0.0.0.0/0            udp dpt:53
> ACCEPT     tcp  --  0.0.0.0/0 0.0.0.0/0            tcp dpt:53
> ACCEPT     udp  --  0.0.0.0/0 0.0.0.0/0            udp dpt:67
> ACCEPT     tcp  --  0.0.0.0/0 0.0.0.0/0            tcp dpt:67 

I've not used iptables service for a long time....

I don't recall if starting certain services open ports on their own. 

netstat -tnap | grep 53 | grep -i listen
netstat -tnap | grep 67 | grep -i listen


-- 
If you can't laugh at yourself, others will gladly oblige.



More information about the users mailing list