cBrandon Community

General Category => Linux Fixes => Topic started by: branx86 on November 02, 2016, 09:44:21 AM

Title: Iptables open ports
Post by: branx86 on November 02, 2016, 09:44:21 AM
List Rules with Line Numbers
iptables -L --line-numbers

Deletes Rule with line Number
iptables -D INPUT 3

Add port accessible to wan
iptables -A INPUT -p tcp -m tcp --dport 8040 -j ACCEPT