Skip to content

Commit

Permalink
open port 1080
Browse files Browse the repository at this point in the history
  • Loading branch information
miya0001 committed Aug 9, 2015
1 parent f7411d4 commit 4e982e0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Any established connection is money
-A FWR -m state --state RELATED,ESTABLISHED -j ACCEPT

# ICMP
# ICMP
-A FWR -p icmp -j ACCEPT
# HTTP
-A FWR -m tcp -p tcp --dport 80 -j ACCEPT
Expand All @@ -21,6 +21,9 @@
# SSH
-A FWR -m tcp -p tcp --dport 22 -j ACCEPT

# MailCatcher
-A FWR -m tcp -p tcp --dport 1080 -j ACCEPT

# Rejects all remaining connections with port-unreachable errors.
-A FWR -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -j REJECT --reject-with icmp-port-unreachable
-A FWR -p udp -j REJECT --reject-with icmp-port-unreachable
Expand Down

0 comments on commit 4e982e0

Please sign in to comment.