Advertisement
Bkmz

Untitled

Aug 18th, 2011
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ext_if="ng0"
  2. int_if="re0"
  3. int_net="192.168.1.0/24"
  4. vpn_if="tap0"
  5. vpn_net="10.117.35.202"
  6. ext_gw="109.195.67.254"
  7.  
  8. nat on $ext_if from !($ext_if) -> ($ext_if)
  9. nat on $vpn_if from $int_if:network -> ($vpn_if)
  10.  
  11. pass in log on $ext_if reply-to ($ext_if $ext_gw) from any to any keep state
  12. pass out log on $ext_if from any to any
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement