Advertisement
Guest User

Untitled

a guest
Jul 12th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ext_if="re0"
  2. int_if="ue0"
  3.  
  4. #set skip on lo
  5. #nat on $ext_if inet from ! ($ext_if) to any -> ($ext_if)
  6.  
  7. rdr pass on $int_if proto tcp from any to any port 80 -> 127.0.0.1 port 9050
  8. rdr pass on $int_if proto tcp from any to any port 443 -> 127.0.0.1 port 9050
  9.  
  10. rdr pass on $int_if proto tcp from any to any port 53 -> 127.0.0.1 port 9053
  11. rdr pass on $int_if proto udp from any to any port 53 -> 127.0.0.1 port 9053
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement