Advertisement
Guest User

Untitled

a guest
Aug 6th, 2016
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int_if = "vether0"
  2. nat_if = "iwm0"
  3.  
  4. out_tcp_svc = "{ domain, www, https, smtp, whois, ftp, ftp-data, ssh, 5544, ntp, 9001 , pop3, pop3s, 6697, 465 }"
  5. out_udp_svc = "{ domain, ntp }"
  6.  
  7. match out on $nat_if from $int_if:network to any nat-to ($nat_if)
  8.  
  9. block log all
  10. pass on $int_if
  11. pass out on $nat_if proto tcp to any port $out_tcp_svc keep state
  12. pass out on $nat_if proto udp to any port $out_udp_svc keep state
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement