I am trying to setup Webmin. I added the following chain to IPTABLES to open port using: $ sudo iptables -A INPUT -p tcp -i eth0 --dport 10000 -j ACCEPT.
Next confirm chain is added; $ sudo iptables -L -v. Then save; $ sudo iptables-save and get a COMMIT response. Create copy; $ sudo iptables-save > firewall-config and finally restore to add to current tables; $ sudo iptables-restore < firewall-config. Restart server and chain is no longer in tables? Any help would be appreciated.

Posted 7 years ago
Top