Open TheReverend403 opened 5 years ago
Great suggestions, thanks! I use netplan personally which is why I think I missed those docs initially. If you want to PR some changes I'd be happy to accept them! Otherwise it might take a while as I usually test config stuff personally before adding it, and my setup is working nicely right now so I might not get around to it for a few weeks.
Automated Script:
https://github.com/complexorganizations/wireguard-install
@TheReverend403
Automated Script:
https://github.com/complexorganizations/wireguard-install
@TheReverend403
I don't need a setup, I already have multiple working wireguard servers. Thanks though :)
While you mention the sysctl and iptables setup needed for ipv4, no such documentation is mentioned for IPv6 tunneling.
IPv6 forwarding can be enabled with
net.ipv6.conf.all.forwarding
Also,
net.ipv4.conf.all.proxy_arp
is not necessary at all.Also also, you can bypass sysctl entirely by just adding
IPForward=yes
to your public interface's networkd config, assuming you're using systemd.Finally, if you're using systemd >= 241, you can make the whole process a hell of a lot easier by just using networkd's native wireguard support, like so. (See the official docs on this for further reading)