This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-A INPUT -p tcp --sport 21 -m state --state ESTABLISHED -j ACCEPT | |
-A INPUT -p tcp --sport 20 -m state --state ESTABLISHED,RELATED -j ACCEPT | |
-A INPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED -j ACCEPT | |
-A OUTPUT -p tcp --dport REMOTE_PORT -m state --state NEW,ESTABLISHED -j ACCEPT | |
-A OUTPUT -p tcp --dport 20 -m state --state ESTABLISHED -j ACCEPT | |
-A OUTPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED,RELATED,NEW -j ACCEPT |