From: karog <karog@jgibbons.com>
To: wireguard@lists.zx2c4.com
Subject: Traffic routing with pf
Date: Wed, 20 Mar 2019 21:01:58 -0400 [thread overview]
Message-ID: <D4AEDD34-6DEF-4C4A-8542-ECCD260428E1@jgibbons.com> (raw)
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.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next reply other threads:[~2019-03-23 0:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 1:01 karog [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-18 13:34 marc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D4AEDD34-6DEF-4C4A-8542-ECCD260428E1@jgibbons.com \
--to=karog@jgibbons.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).