Hi! I'm trying to set up openvpn server to let clients connect using the router's ipv6 address, but failing. My openvpn server is working fine over ipv4, but my ISP in the UK uses carrier-grade NAT, and I don't want to keep paying for a static IP address. Any help or clues regarding what I could be missing would be greatly appreciated!! Below is more info and what I've tried so far. The thing I don't understand right now is why the WAN IPv6 address (2a01:4b00:efgh:...) looks so different to the LAN IPv6 prefix (2a01:4b00:abcd:1200::1/56) my router gets to manage.
Router: Asus RT-AC68U
Firmware: MerlinWRT 384.19
Custom VPN Server configuration (in addition to basic IPv4 settings on the UI):
proto udp6
server-ipv6 2a01:4b00:abcd:1200:123::/80
push "route-ipv6 2a01:4b00:abcd:1200::/56"
push "route-ipv6 2000::/3"
push "dhcp-option DNS6 2a01:4b00:abcd:1200::1"
OpenVPN Client config:
client
dev tun
remote 2a01:4b00:abcd:1200::1 1194 udp6 ;; <- this doesn't work
;remote 2a01:4b00:efgh:xxxx:xxxx:xxxx:xxxx:eff5 1194 udp6 ;; <- this doesn't work
;remote 123.0.456.789 1194 udp ;; <- this works
resolv-retry infinite
nobind
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
compress lz4-v2
keepalive 15 60
auth-user-pass
remote-cert-tls server
...
Any help is greatly appreciated!! Thanks in advance
Router: Asus RT-AC68U
Firmware: MerlinWRT 384.19
IPv6 Connection Type | Native with DHCP-PD |
---|---|
WAN IPv6 Address | 2a01:4b00:efgh:xxxx:xxxx:xxxx:xxxx:eff5 |
WAN IPv6 Gateway | fe80::a208:6fff:fe9d:5b5b |
LAN IPv6 Address | 2a01:4b00:abcd:1200::1/56 |
DHCP-PD | Enabled |
LAN IPv6 Prefix | 2a01:4b00:abcd:1200::/56 |
Custom VPN Server configuration (in addition to basic IPv4 settings on the UI):
proto udp6
server-ipv6 2a01:4b00:abcd:1200:123::/80
push "route-ipv6 2a01:4b00:abcd:1200::/56"
push "route-ipv6 2000::/3"
push "dhcp-option DNS6 2a01:4b00:abcd:1200::1"
OpenVPN Client config:
client
dev tun
remote 2a01:4b00:abcd:1200::1 1194 udp6 ;; <- this doesn't work
;remote 2a01:4b00:efgh:xxxx:xxxx:xxxx:xxxx:eff5 1194 udp6 ;; <- this doesn't work
;remote 123.0.456.789 1194 udp ;; <- this works
resolv-retry infinite
nobind
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
compress lz4-v2
keepalive 15 60
auth-user-pass
remote-cert-tls server
...
Any help is greatly appreciated!! Thanks in advance
Last edited: