Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Skyler Mäntysaari" <skyler.mantysaari@samipsolutions.fi>
To: wireguard@lists.zx2c4.com
Subject: Split tunneling with VyOS and Mac client
Date: Wed, 29 Apr 2020 12:19:14 +0300	[thread overview]
Message-ID: <c74e7d0a-f902-c872-4aed-7ab71f2aa1de@samip.fi> (raw)

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


                 reply	other threads:[~2020-05-06 10:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=c74e7d0a-f902-c872-4aed-7ab71f2aa1de@samip.fi \
    --to=skyler.mantysaari@samipsolutions.fi \
    --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).