View Single Post
  #1   (View Single Post)  
Old 7th August 2010
ikevinjpdev ikevinjpdev is offline
New User
 
Join Date: Aug 2010
Posts: 2
Default PF NAT configuration help

I am configuring OpenBSD as a firewall/gateway/NAT and I put in these statements in my pf.conf:

---

block log all

pass out quick on tun0 from re0:network to any nat-to (tun0)
pass in quick on re0

---

It works, BUT I would like to write the "pass in quick on re0" to be more specific. It should specify that the traffic be from the particular network or specific computers to pass through to the NAT. Would appreciate if anyone could advise how to write it to become more specific.

Thanks!

Kevin.
Reply With Quote