Guest User

Untitled

a guest
Aug 21st, 2011
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. #
  2. # Shorewall version 4 - Policy File
  3. #
  4. # For information about entries in this file, type "man shorewall-policy"
  5. #
  6. # The manpage is also online at
  7. # http://www.shorewall.net/manpages/shorewall-policy.html
  8. #
  9. ###############################################################################
  10. #SOURCE DEST POLICY LOG LIMIT: CONNLIMIT:
  11. # LEVEL BURST MASK
  12. #
  13. # Block this machine from accessing NET ZONE accept for exceptions in /etc/shorewall/rules
  14. #$FW net DROP ULOG
  15.  
  16. # Allow NET Zone when not on VPN - (Allow all connection requests from the firewall to the Internet)
  17. $FW net ACCEPT
  18.  
  19. # Allow this machine to access the VPN ZONE for everything
  20. $FW vpn ACCEPT
  21.  
  22. # Block anything from the NET ZONE to all other zones - (Drop (ignore) all connection requests from the Internet to your firewall)
  23. net all DROP ULOG
  24.  
  25. # Block from using another connection
  26. net net NONE
  27.  
  28. #
  29. # The FOLLOWING POLICY MUST BE LAST
  30. #
  31.  
  32. # Block everything else - (Reject all other connection requests (Shorewall requires this catchall policy)
  33. all all REJECT ULOG
Advertisement
Add Comment
Please, Sign In to add comment