-
I managed to set up OpenVPN with NetworkManager; I had to switch VPN provider to IVPN because they still support AES‑256‑CBC.
It's working flawlessly on Wi‑Fi, but not on cellular data. On cellular it connects, but I get no internet. Is there something I need to do to make cellular work?
Very nice tho that ivpn works gives me hope I might get it to work on cellular
-
P Privacy+freedom moved this topic from General
-
I tried to run sudo IP route replace default Dev ccmi1 metric 40 did not help so reverted it
-
@Privacy-freedom
Just to be clear:
Are you trying to install the OpenVPN server or the OpenVPN client on your phone? -
@Vlad-Nirky client I downloaded the openvpn config from ivpn and imported it with nmcli but I had to manually input the ca cert and tsl cert
Its working 100% perfect on WiFi but when I go on 4g it connects to the VPN but I get no internet
I'm on ubuntu touch version 24.04.1.3
-
client I downloaded the openvpn config from ivpn and imported it with nmcli but I had to manually input the ca cert and tsl cert
Its working 100% perfect on WiFi but when I go on 4g it connects to the VPN but I get no internet
I'm on ubuntu touch version 24.04.1.3
Perhaps could you try to reduce the MTU packet size?
nmcli connection modify "Your_VPN" +vpn.data "mssfix=1300" -
@Privacy-freedom
Another possibility is to disable IPV6
nmcli connection modify "Your_VPN" ipv6.method ignore -
@Vlad-Nirky will try this
-
@Vlad-Nirky sadly non of those commands fixed it
Pretty weird that openvpn works on WiFi but not mobile data
-
@Privacy-freedom
Last chance, force the openvpn
nmcli connection modify "Your_VPN" ipv4.never-default no
nmcli connection modify "Your_VPN" ipv6.never-default no -
@Privacy-freedom
Did you tried a ping of an IP address or a domain name? -
@Vlad-Nirky tried to ping google now i just get Temporary failure in name resolution
those commands did not fix it also
mby its s bug with openvpn on ut -
@Privacy-freedom
I was wondering if you could ping 8.8.8.8 instead of www.google.com
More likely a block by the ISP -
when i run ping 8.8.8.8 i get
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
when i dissable vpn on 4g i get much more output when i pingnever heard of isp/carriers blocking vpns where i live might try a config with port 443 then.
443 i heard can often get around vpn blocks
-
@Vlad-Nirky tried a new config with TCP at port 443 same issue
I'm pretty sure my mobile data carrier doesn't block VPNs. On my old Android phone I used OpenVPN 24/7 when I was on 4G before I switched to using Ubuntu Touch as my daily driver.
i run vpn on my router so its really only for when im on 4g/mobile data i woude want a vpn on the phone
when im at home i get vpn over wireless -
@Privacy-freedom
Any errors in
sudo journalctl -u NetworkManager -f
What gives ip route show when vpn is active (mentionning tun interface)? -
when i run sudo journalctl -u NetworkManager -f
these are the only errors i noticedDnsmasq is just using nameservers and NetworkManager is bringing up tun0. The only real problem in the snippet is the VPN restarting:
nm-openvpn: Inactivity timeout (--ping-restart), restarting
nm-openvpn: SIGUSR1[soft,ping-restart] received, process restartingthis is the active connections listed when i run mnlci connection show --active
o1.gw.ivpn.net
NetCon
lo
tun0 -
@Privacy-freedom
I restarted my OpenVPN (on Pi-hole).
I was able to connect my phone to it and access my home network via 4G LTE.
Running on 24.04-2.x (don't know if this matter) -
This post is deleted! -
@Privacy-freedom
Yes not easy to share things without leaking some private informations...Perhaps could you take a look at this exchange
https://forums.ubports.com/topic/11513/openvpn-setup-does-not-offer-what-i-need-for-my-vpn-server..../38 -
@Privacy-freedom
I can give you my openvpn server config if you think it could help
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login