How to view current iptables rules – Hostway Help Center
support.hostway.com › hc › en-usNov 15, 2017 · How to view current iptables rules: #iptables -L How to append an allow rule into iptables: #iptables -A INPUT -p tcp --dport 80 -j ACCEPT The following rule will append an allow rule for a specific IP address through IP tables. Replace 111.111.111.111 with the IP of your choosing: #iptables -A INPUT -s 111.111.111.111 -j ACCEPT How to append a block/deny rule into iptables:
Linux Iptables List and Show All NAT IPTables Rules ...
https://www.cyberciti.biz/faq/howto-iptables-show-nat-rules27.02.2013 · This option makes the list command show the interface name, the rule options (if any), and the TOS masks. The packet and byte counters are also listed, with the suffix ‘K’, ‘M’ or ‘G’ for 1000, 1,000,000 and 1,000,000,000 multipliers respectively. Linux Iptables List and Show All NAT IPTables IPv6 Rules Command