Traffic routing with pf

karog karog at
Thu Mar 21 02:01:58 CET 2019


You might only need to turn on ip forwarding. As a command try:

To read the current value:

sysctl net.inet.ip.forwarding

To set the value:

sudo sysctl net.inet.ip.forwarding=1

To set it on boot, create the file


with contents


You will also need a route on your router to direct packets with destination on your wireguard subnet to go the the Mac Mini's ip address.

More information about the WireGuard mailing list