bug report: network loop with ipv6 endpoint
Posted: Sun Mar 18, 2018 9:32 pm
When connecting to upd6 endpoint in tun mode, e.g.
With ipv4 udp endpoint, this problem doesn't happen.
With ipv4 endpoint, a specific route is always added by openvpn, to avoid "VPN nasty network loops". If xxx.yyy.zzz.ttt is your ipv4 VPN endpoint:
As a result, a VPN network loop happens right upon connection, which saturates the client network connection.
Code: Select all
Immediately upon connection, the VPN connection bandwidth saturate the networking capacity, i.e. 100mbps in my case.dev tun
remote example.vpn.com 1194 udp6
tls-client
With ipv4 udp endpoint, this problem doesn't happen.
With ipv4 endpoint, a specific route is always added by openvpn, to avoid "VPN nasty network loops". If xxx.yyy.zzz.ttt is your ipv4 VPN endpoint:
Code: Select all
This is NOT done by openvpn / viscosity for ipv6 VPN endpoints.netstat -nr
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
0/1 192.168.10.5 UGSc 118 0 utun1
xxx.yyy.zzz.ttt/32 9.12.143.1 UGSc 1 0 en0
As a result, a VPN network loop happens right upon connection, which saturates the client network connection.