Unable To Create Route for IP6 Addresses

Got a problem with Viscosity or need help? Ask here!

StuartM

Posts: 16
Joined: Sun Feb 05, 2017 10:07 pm

Post by StuartM » Wed Mar 11, 2020 9:01 pm
I ned to configure specific external servers to connect directly rather than through the VPN (as they have blocked VPN addresses!).

1. No info on Destination/Mask for IP6 so I'm guessing
2. When I set the IP version to IP6, the only gateway options I get are "Default" or "Custom", "Local Network Gateway" is greyed out (as is "VPN Gateway" - but that's not the one I'm after.

Many thanks

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri Mar 13, 2020 12:12 am
Hi StuartM,
1. No info on Destination/Mask for IP6 so I'm guessing
The following links contains some information about how to figure this out:
https://www.sparklabs.com/support/kb/ar ... bsite-uses
https://www.sparklabs.com/support/kb/ar ... ation-uses

2. When I set the IP version to IP6, the only gateway options I get are "Default" or "Custom", "Local Network Gateway" is greyed out (as is "VPN Gateway" - but that's not the one I'm after.
I'm afraid OpenVPN doesn't (at least currently) support the use of a dynamic "VPN Gateway" or "Local Network Gateway" for IPv6. The gateway to use must be specified as a manual IPv6 address. For the equivalent of the "Local Network Gateway" option, then should be the IPv6 address of the gateway/router for the network your computer is on. If you're unsure of what this is, try typing "route -n get -inet6 default" into the Terminal.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

StuartM

Posts: 16
Joined: Sun Feb 05, 2017 10:07 pm

Post by StuartM » Fri Mar 13, 2020 3:24 am
As it's OpenVPN (rather than Viscosity) I'm sure you are more aware of (and have more influence over) the project's direction and developments than I am so do you have any feeling when it might be supported (with IP6 becoming a lot more common these days).

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Tue Mar 17, 2020 12:08 am
do you have any feeling when it might be supported
I'm afraid I can't offer up any ETAs, but it's definitely something that is on our roadmap.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

johnpc

Posts: 1
Joined: Wed Apr 01, 2020 9:13 pm

Post by johnpc » Wed Apr 01, 2020 9:25 pm
For the equivalent of the "Local Network Gateway" option, then should be the IPv6 address of the gateway/router for the network your computer is on.
I'm afraid that doesn't work. I tried various ways to set an IPv6 host route via the config. I tried putting in the address that's in the current IPv6 default route, in the format fe80::xxxx%en0. I also tried using the public IPv6 address of the router, a 2001:xxx address, so no interface specification necessary.

Both of these work fine if I add them on the command line, after establishing a VPN connection, using:
sudo route add -inet6 TARGET/128 GATEWAY.
But if I put that GATEWAY as a "custom" destination in the networking tab, in an IPv6 route, then the result after connecting the VPN is that there's a host route for the target host, via the tunnel interface.

Viscosity 1.8.4, MacOS 10.15.3
5 posts Page 1 of 1