Page 1 of 1

HTTPS VPN over GPRS

Posted: Tue Jun 27, 2023 10:47 pm
by ismael
Hi,

I'm trying to establish a tunnel using softether client and SIM868, GPRS. I got my VPN server up and running and I'm able to connect just fine when the client is connected vía Eth or WLAN. So, let's assume no server nor fw problems.

Regarding the GPRS, I have set a PPP connection which indeed reaches the Internet correctly. However, once I left the client with PPP connection only, the tunnel cannot be established ("connecting" forever). Because I cannot connect the server I am not getting an IP for the virtual adapter, of course. The server logs shows no connections attempts so for some reason I'm not even reaching it.

I've set the PPP interface as default gateway but still won't connect. I got the feeling that I'm not going out of the client when connected only through PPP. Any idea?

Please let me know if you need any additional details or information.

Thanks in advance

Re: HTTPS VPN over GPRS

Posted: Wed Jun 28, 2023 6:13 am
by solo
Try VPN Azure address. Also, in a browser check https://your.server.addr:443

Re: HTTPS VPN over GPRS

Posted: Wed Jun 28, 2023 9:46 pm
by ismael
Same result, unfortunately. My softether address is perfectly reachable through a browser. Azure Address is not.

As saying yesterday, the VPN establishes perfectly over any other internet connection. Oh, and btw, when connected through PPP I can ping the server too

Re: HTTPS VPN over GPRS

Posted: Wed Jun 28, 2023 10:47 pm
by ismael
Ok, let me correct myself. Tuning a bit the routes and pointing to azurenet I got the connection! Thank you on that, is a huge step. I'm not sure what the difference is between both and why I'm getting it done with azure, though.

Anyway, the behaviour is kind of erratic, I'm working on that. In the meantime, my next problem is that this is supposed to get my client within a common local network, which implies assinging an ip in that range. Im trying to force that with dhclient but no success.

My final aim is to connect to my client via SSH, once both are on the same local network. The packet log shows this which I find interesting:

2023-06-29,00:23:14.265,SID-AB-16,-,5EAEB4300105,FFFFFFFFFFFF,0x0800,385,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=2623456519 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,x.0.0.0(port=63132),-

Any ideas??

Re: HTTPS VPN over GPRS

Posted: Thu Jun 29, 2023 6:37 am
by solo
ismael wrote:
Wed Jun 28, 2023 10:47 pm
My final aim is to connect to my client via SSH, once both are on the same local network.
- bridge the VPN hub to a local NIC
- connect VPN client
- with ifconfig set a static IP on the client's virtual NIC
- from the server do SSH to the IP