Guest User

Untitled

a guest
Jul 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. INTERNET ----- VIC0 x x VIC1 ----- x CN1
  2. | OpenBSD |
  3. x VIC2 ----- x FN2
  4.  
  5.  
  6. pf.conf:
  7.  
  8. ext_if = "vic0"
  9. int_if1 = "vic1"
  10. int_if2 = "vic2"
  11.  
  12. ...
  13.  
  14. nat on $ext_if inet from ($int_if1:network) to any -> ($ext_if)
  15. nat on $ext_if inet from ($int_if2:network) to any -> ($ext_if)
  16. nat on $int_if1 inet from ($int_if2:network) to any -> ($int_if1)
  17. nat on $int_if2 inet from ($int_if1:network) to any -> ($int_if2)
Add Comment
Please, Sign In to add comment