# /sbin/iptables -nvL
The output of above iptables command look something like this...
pkts bytes target prot opt in out source destination 0 0 ACCEPT tcp -- * * 192.168.101.101 0.0.0.0/0 tcp dpt:3306 state NEW,RELATED,ESTABLISHED 16810 1009K ACCEPT tcp -- * * 192.168.101.120 0.0.0.0/0 tcp dpt:3306
What is the difference between these 2 lines? The second IP does not has the "state New,...". Does that make any difference? What all I am trying to do is allow mysql access from these IP's on default port 3306