Re: Fwd: openvpn over ipv6 /65
On Tue, Nov 27, 2018 at 11:19:12AM +0100, tony wrote:
> >> push "route-ipv6 2a03:9800:10:54:8000::/65"
> >> push "route-ipv6 2000::/3"
> >> push "redirect-gateway def1 bypass-dhcp"
> > Remove these. Use this instead:
> > push "redirect-gateway def1"
> > push "route-ipv6 ::/0 metric 99"
> Well, there's an improvement: I'm now able to resolve v6 addresses with
> the VPN up, presumably because IPv6 forwarding now being enabled, BUT,
> the remote end is still seeing the native V6 address.
> I'm seeing this in my host's OVPN log:
> Tue Nov 27 10:24:58 2018 us=429309 PUSH: Received control message:
> 'PUSH_REPLY,redirect-gateway def1,route-ipv6 ::/0 metric
> 99,redirect-gateway def1 bypass-dhcp,dhcp-option DNS
> 184.108.40.206,dhcp-option DNS 220.127.116.11,dhcp-option DNS
> 18.104.22.168,tun-ipv6,route 10.8.0.1,topology net30,ping 10,ping-restart
> 120,ifconfig-ipv6 2a03:9800:10:54:8000::1000/65
> 2a03:9800:10:54:8000::1,ifconfig 10.8.0.6 10.8.0.5,peer-id 2,cipher
> Tue Nov 27 10:24:58 2018 us=429418 Options error: route-ipv6 parameter
> gateway 'metric' must be a valid address
> Tue Nov 27 10:24:58 2018 us=429472 Note: option tun-ipv6 is ignored
> because modern operating systems do not need special IPv6 tun handling
> I'm assuming it doesn't like the ::/0 address, nor do I understand that.
Nah, it does not like "metric" part, which is crucial here.
But try this:
push "redirect-gateway def1 ipv6"
> Please indulge my ignorance a little longer; I feel we're getting there.
Sure. One cannot learn unless one's doing.