Created
July 22, 2018 07:46
-
-
Save Martin91/c59ce0019703f9f076cfd70185f63ac5 to your computer and use it in GitHub Desktop.
Revisions
-
Martin91 created this gist
Jul 22, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # Allow access only localhost by port 1991 sudo iptables -A INPUT -i lo -p tcp --dport 1991 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 1991 -j DROP