PINE64
wwan0 (SIM interface) doesn't work with OpenVPN - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: wwan0 (SIM interface) doesn't work with OpenVPN (/showthread.php?tid=18143)



wwan0 (SIM interface) doesn't work with OpenVPN - nickolas - 04-16-2023

I created my own OpenVPN, it works in Manjaro, in mikrotiks, ASUS router and so on, but I can't use it in Pinephone Pro. The connection is establishing and the route is changing (I see it by mtr) but Firefox (and Chromium) continues using the default route without OpenVPN. I have tried to create the MASQUERADE rule in iptables but nothing was changed. What do I need to do? Did anyone face up the same problem?


RE: Firefox (and Chromium) continues using default route without OpenVPN - nickolas - 04-17-2023

Also I can say that all works in Chrome which is launching in Waydroid. It isn't route table case

DNS over HTTPS is enabled (Also I tried to specify the DNS manually). Proxy is disabled. I couldn't find more settings which I could change.


RE: Firefox (and Chromium) continues using default route without OpenVPN - nickolas - 04-17-2023

Apparently the browsers used wwan0 interface by default that's why the sites didn't open. When I turned off this interface all begun to work though wifi inteface (wlan0). I tried to reconfigure dns settings how write here: https://forum.pine64.org/showthread.php?tid=16133 and specify nameservers manually but it didn't help.


RE: Firefox (and Chromium) continues using default route without OpenVPN - nickolas - 04-18-2023

I set up the SIM to another phone and shared wifi to pinephone pro by hotspot from this phone, after that I connected my own OpenVPN and everything has worked. So I can see the conclusion the wwan0 interface (modem of SIM) doesn't work with OpenVPN, it isn't ISP case. The problem somewhere on OSI application layer, routes are correct. Also all works when I use wwan0 interface with OpenVPN in Chrome which is launching in Waydroid, it is possible not only by wifi.

P.S. Moderators rename the title to "wwan0 (SIM interface) doesn't work with OpenVPN", please, it would more correctly.


RE: Firefox (and Chromium) continues using default route without OpenVPN - KC9UDX - 04-18-2023

Maybe smite the "Report" button on your OP.


RE: Firefox (and Chromium) continues using default route without OpenVPN - nickolas - 04-19-2023

(04-18-2023, 07:36 PM)KC9UDX Wrote: Maybe smite the "Report" button on your OP.

Ok, I have done it.


RE: wwan0 (SIM interface) doesn't work with OpenVPN - nickolas - 09-05-2023

I have turned off ipv6 routing from ISP and resolved this issue.