Traffic routing with pf

karog karog at jgibbons.com
Thu Mar 21 02:01:58 CET 2019


Marc,

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

/private/etc/sysctl.conf

with contents

net.inet.ip.forwarding=1


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