Page 1 of 1

Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 1:40 pm
by philtrim
I can connect my laptop to my opvpn profile without issue using my home internet wifi.

When I am traveling and when I connect my laptop up to my iPhone hot-spot it fails to connect.

When I look at the logs is says:

Username/Password Empty

Using the same profile the only difference is my internet connection!

Thanks.

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 2:12 pm
by TinCanTech
philtrim wrote:
Tue Aug 02, 2022 1:40 pm
When I look at the logs is says:

Username/Password Empty
Your logs will say a lot more than just that ..

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 2:28 pm
by philtrim
[Aug 2, 2022, 10:22:55] OpenVPN core 3.git::d3f8b18b win x86_64 64-bit built on Mar 17 2022 11:42:02
⏎[Aug 2, 2022, 10:22:55] Frame=512/2048/512 mssfix-ctrl=1250
⏎[Aug 2, 2022, 10:22:55] UNUSED OPTIONS
14 [persist-tun]
15 [nobind]
16 [verb] [3]
17 [socket-flags] [TCP_NODELAY]
⏎[Aug 2, 2022, 10:22:55] EVENT: RESOLVE ⏎[Aug 2, 2022, 10:22:55] Contacting x.x.206.135:1194 via UDP
⏎[Aug 2, 2022, 10:22:55] EVENT: WAIT ⏎[Aug 2, 2022, 10:22:55] WinCommandAgent: transmitting bypass route to x.x.206.135
{
"host" : "x.x.206.135",
"ipv6" : false
}

⏎[Aug 2, 2022, 10:22:55] Connecting to [foo.gw.openvpn.com]:1194 (x.x.206.135) via UDPv4
⏎[Aug 2, 2022, 10:22:55] EVENT: CONNECTING ⏎[Aug 2, 2022, 10:22:55] Tunnel Options:V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client
⏎[Aug 2, 2022, 10:22:55] Creds: Username/PasswordEmpty
⏎[Aug 2, 2022, 10:22:55] Peer Info:
IV_VER=3.git::d3f8b18b
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC
IV_AUTO_SESS=1
IV_GUI_VER=OCWindows_3.3.6-2752
IV_SSO=webauth,openurl,crtext

⏎[Aug 2, 2022, 10:23:36] Session invalidated: KEEPALIVE_TIMEOUT
⏎[Aug 2, 2022, 10:23:36] Client terminated, restarting in 2000 ms...
⏎[Aug 2, 2022, 10:23:38] EVENT: RECONNECTING ⏎[Aug 2, 2022, 10:23:38] EVENT: RESOLVE ⏎[Aug 2, 2022, 10:23:38] Contacting y.y.49.10:1194 via UDP
⏎[Aug 2, 2022, 10:23:38] EVENT: WAIT ⏎[Aug 2, 2022, 10:23:38] WinCommandAgent: transmitting bypass route to y.y.49.10
{
"host" : "y.y.49.10",
"ipv6" : false
}

⏎[Aug 2, 2022, 10:23:39] Connecting to [foo.gw.openvpn.com]:1194 (y.y.49.10) via UDPv4
⏎[Aug 2, 2022, 10:23:39] EVENT: CONNECTING ⏎[Aug 2, 2022, 10:23:39] Tunnel Options:V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client
⏎[Aug 2, 2022, 10:23:39] Creds: Username/PasswordEmpty
⏎[Aug 2, 2022, 10:23:39] Peer Info:
IV_VER=3.git::d3f8b18b
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC
IV_AUTO_SESS=1
IV_GUI_VER=OCWindows_3.3.6-2752
IV_SSO=webauth,openurl,crtext

⏎[Aug 2, 2022, 10:23:55] EVENT: CONNECTION_TIMEOUT BYTES_IN : 7848
BYTES_OUT : 79102
PACKETS_IN : 12
PACKETS_OUT : 69
KEEPALIVE_TIMEOUT : 1
CONNECTION_TIMEOUT : 1
N_RECONNECT : 1
⏎[Aug 2, 2022, 10:23:55] EVENT: DISCONNECTED ⏎

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 2:38 pm
by TinCanTech
philtrim wrote:
Tue Aug 02, 2022 2:28 pm
Connecting to [foo.gw.openvpn.com]:1194 (x.x.206.135) via UDPv4
philtrim wrote:
Tue Aug 02, 2022 2:28 pm
Connecting to [foo.gw.openvpn.com]:1194 (y.y.49.10) via UDPv4
Are you sure that you have the correct server name ?

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 2:40 pm
by philtrim
I am using the same profile, same computer - the only difference is how I am connecting to the internet.
WOrks on home WIfi, fails when laptop connects to Iphone HotSpot.

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 2:47 pm
by philtrim
Would adjusting the time-out help? If so, where would I do that?

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 3:06 pm
by TinCanTech
It would be better to post the log of a successful connection for comparison.

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 6:40 pm
by philtrim
From what I can gather the issue turned out to be I was over the 3 connection limit :( :(
Always the little things that makes you lose the most hair!!

Issue resolved now.

Re: Laptop connects on home Wifi but not using iPhone hot spot

Posted: Tue Aug 02, 2022 8:40 pm
by TinCanTech
At least you found the cause, thanks for letting us know 8-)