Close

What are you looking for?

cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution Solved

Wireguard VPN over Hotspot

(Topic created on: 07-12-2022 01:43 AM)
7545 Views
CyberHermit
Apprentice
Options

My company is working planning on giving our entire staff a set of Samsung S22 phones. I'm currently in charge of making sure all of our main use cases work before purchasing phones and phone contracts. Currently I am trying to confirm that our team will be able to use their laptops over mobile hotspot. I have a test laptop I am using, it is able to connect and browse internet just fine when connected to samsung s22 hotspot but cannot connect to our corporate VPN. All of our laptops are Windows 11 will latest updates and are configured so they must always be on VPN (I'm able to temporarily disable VPN for testing purposes). Why does this not work on Samsung devices? I have tested using my personal Google Pixel 4 device and this scenario works fine. I have tested using my wifes iPhone 13 and this works fine. Only with Samsung devices does this not work. To confirm there was no special rejection of samsung s22 happening from our VPN server I setup a VPN connection directly from phone to server. This works fine too. Sadly because of android limitations laptop traffic over hotspot does not go through VPN using this scenario. We are using wireguard for VPN which transmit traffic using UDP protocol.

 

question: How do i make it so samsung s22 phone can turn on mobile hotspot and allow VPN traffic from Windows clients?

0 Likes
6 REPLIES 6
-Robot-
Samsung Members Star ★
Options
Can I ask that all the phone you tested, are on the same network provider?

I have tried it with cisco anyconnect with no issues, on Vodafone
CyberHermit
Apprentice
Options

No they are on different networks. I am currently using the wireguard as our VPN. Its protocol VPN is different from AnyConnect. I believe AnyConnect is a TCP based protocol while wireguard is UDP based. Wireguard is much more friendly for mobile devices that change IP address's or work off of battery power.

0 Likes
-Robot-
Samsung Members Star ★
Options
So your test are invalid, you must compare them apples for apples. Try the same sim in each of the phone and see if your vpn is able to connect.

Cisco vpn use completely different protocols, and being is more widly adopted platform especially in a large corporate setting support could be different

Support for the Priduct by the network providers I am talking about
0 Likes
CyberHermit
Apprentice
Options

I tried sim swapping to get the same carrier on all phones. I had some issues on pixel phone but iPhone worked without issue.

0 Likes
Solution
CyberHermit
Apprentice
Options

I've given up on getting this working. My current recommendation is that if you are using a phone that needs mobile hotspot connectivity and/or VPN just get an iPhone.

0 Likes
TomComm
First Poster
Options

Hello CyberHermit,

i am currently doing a lot of research on a solution for a problem similar to the one you described.

I have a Fritzbox at home on which I have set up Wireguard and connected it to my iPhone 13. The Wireguard connection from the router to the iPhone works without any problems.

 

I create a hotspot on my iPhone and connect my iPad to it. This works (I have internet) but I am not "connected" to the Wireguard VPN from my iPhone (I have not set up Wireguard on the iPad!).

What do I have to set up so that I am automatically connected to my Fritz router on the iPad via Wireguard over the iPhone hotspot?

0 Likes