Split tunneling with VyOS and Mac client
Skyler Mäntysaari
skyler.mantysaari at samipsolutions.fi
Wed Apr 29 11:19:14 CEST 2020
Dear list subscribers,
I have tried to find actual documentation on split tunneling with
Wireguard, but couldn't find really any actual examples on it. IPv6
works, but my IPv4 connection does not work after connecting the VPN and
I only want IPv6 to be tunneled. IPv4 should use the non-vpn gateway.
Pinging for example Cloudflare's DNS does not work, I get timeouts.
This is to give myself IPv6 connectivity when the actual network lacks it.
Server config:
address 2a01:xxx:xx:f80b::1/64
address 192.168.99.1/24
peer sky-mbp {
allowed-ips 2a01:xxx:xx:f80b:bad:c0de::1/128
allowed-ips 192.168.99.3/32
persistent-keepalive 15
pubkey <censored>
}
port 51820
Client config:
[Interface]
PrivateKey = <censored>
Address = 192.168.99.3/32, 2a01:xxx:xx:f80b:bad:c0de:0:1/128
DNS = 2a01:xxx:xx:f80b::1
[Peer]
PublicKey = <censored>
AllowedIPs = 192.168.99.1/32, ::0/0
Endpoint = server_ipv4_address_censored:51820
PersistentKeepalive = 15
Best regards,
Skyler M
More information about the WireGuard
mailing list