Hoping someone can shed some light over here
when connecting to my home vpn server over wifi, the log says "Contacting [xxx.xxx.xxx.xxx]:1194/TCP via TCPv4" and it connects fine.
However when i switch over to 5G and try to connect, the log says Contacting [2001:8004:xxxx:xxxx::xxxx:xxxx]:1194/TCP via TCPv4 and times out.
It uses ipv4 address when connecting on a wifi network but seems to try and connect using an ipv6 address when using cellular which is not in my config file and enters a timeout/retry cycle
What am i doing wrong?
Can connect over Wifi, can't connect over cellular because its trying to contact an ipv6 address for some reason
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Jun 16, 2022 12:49 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Can connect over Wifi, can't connect over cellular because its trying to contact an ipv6 address for some reason
You could also try --proto udp4
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Jun 16, 2022 12:49 pm
Re: Can connect over Wifi, can't connect over cellular because its trying to contact an ipv6 address for some reason
I initially started with udp and it failed on both wifi and cellular but it must have been to another config.
I set it to TCP and it worked on wifi so i left it there and figured there would be another config to blame for the ipv6 address switching that was happening between the network sources
I changed it back to udp and it seems to work now
I set it to TCP and it worked on wifi so i left it there and figured there would be another config to blame for the ipv6 address switching that was happening between the network sources
I changed it back to udp and it seems to work now