Advertisement
Guest User

Untitled

a guest
Aug 21st, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. #
  2. # Shorewall version 4 - Rules File
  3. #
  4. # For information on the settings in this file, type "man shorewall-rules"
  5. #
  6. # The manpage is also online at
  7. # http://www.shorewall.net/manpages/shorewall-rules.html
  8. #
  9. ####################################################################################################################################################################
  10. #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME HEADERS
  11. # PORT PORT(S) DEST LIMIT GROUP
  12. #SECTION ESTABLISHED
  13. #SECTION RELATED
  14. #SECTION NEW
  15.  
  16. # Drop Ping from the "bad" net zone.. and prevent your log from being flooded..
  17.  
  18. Ping(DROP) net $FW
  19.  
  20.  
  21. # Permit all ICMP traffic FROM the firewall TO the net zone
  22.  
  23. ACCEPT $FW net icmp
  24.  
  25.  
  26. # Disallow IDENT On Port 113 to respond
  27.  
  28. DROP net fw tcp 113
  29.  
  30.  
  31. # Allow this machine to connect to any openvpn server using port 1194 or 443
  32.  
  33. ACCEPT fw net udp 443
  34. ACCEPT net fw udp 443
  35. #ACCEPT fw net udp 1194
  36. #ACCEPT net fw udp 1194
  37.  
  38.  
  39.  
  40. # TORRENT RULES - Transmission
  41.  
  42. ACCEPT net fw tcp,udp 49200
  43. ACCEPT fw net tcp,udp 49200
  44.  
  45.  
  46. # Nicotine+ RULES
  47.  
  48. ACCEPT net fw tcp,udp 2234
  49. ACCEPT fw net tcp,udp 2234
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement