Guest User

Untitled

a guest
Jul 26th, 2025
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # --- Variables ---
  2. ext_if = "re0"
  3. vpn_net = "10.8.0.0/24"
  4.  
  5. # --- Rules ---
  6.  
  7. # 1. Fix packet size for web browsing (MTU issue)
  8. scrub on $ext_if all max-mss 1400
  9.  
  10. # 2. Perform NAT for the VPN clients
  11. nat on $ext_if from $vpn_net to any -> ($ext_if)
  12.  
  13. # 3. Allow all traffic everywhere. This is the most relaxed setting possible.
  14. pass all
  15.  
Advertisement
Add Comment
Please, Sign In to add comment