IPTables and order of rules
Added an iptables rule but getting “connection reset by peer” or you still cannot connect, then read on. Run this command: sudo iptables -L –line-numbers Always backup your existing rules first: sudo iptables-save > savedrules.txt This is how you can restore your rules if you messed something up: sudo iptables-restore Read more…