Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ext_if="re0"
- int_if="ue0"
- #set skip on lo
- #nat on $ext_if inet from ! ($ext_if) to any -> ($ext_if)
- rdr pass on $int_if proto tcp from any to any port 80 -> 127.0.0.1 port 9050
- rdr pass on $int_if proto tcp from any to any port 443 -> 127.0.0.1 port 9050
- rdr pass on $int_if proto tcp from any to any port 53 -> 127.0.0.1 port 9053
- 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