Jump to content
Not connected, Your IP: 18.224.246.203
aishm

Eddie cannot connect via Proxy on Linux

Recommended Posts

Posted ... (edited)

Hello.

I have both Windows11 and Mint Linux 19.3 on my system (dual OS) and this issue only happens on Linux Mint 19.3. Also I am using the same version of Eddie in both OSs, which is 2.21.8 ... So I figured I should discuss this problem here instead of troubleshooting subforum.


Due to my geo-ban in my country, I can only connect to an OK speed VPN via using a Proxy (from the Proxy/Tor in the Eddie GUI Settings. Photo attached in attachments)



My proxy provider gives me two methods of authentication:
1- via username/password
2- And via IP WHTIELIST.

I can connect SUCCESSFULLY using the username/password in Windows 11.

However, in Linux mint, I CANNOT connect to VPN ,and this is the log I get:

. 2023.08.26 21:17:28 - Collect information about AirVPN completed
I 2023.08.26 21:17:34 - Session starting.
I 2023.08.26 21:17:34 - Checking authorization ...
! 2023.08.26 21:17:35 - Connecting to Mesarthim (Germany, Munich)
. 2023.08.26 21:17:35 - Routes, add 79.143.191.166/32 for interface "wlp2s0".
. 2023.08.26 21:17:35 - Routes, add 79.143.191.166/32 for interface "wlp2s0", already exists.
. 2023.08.26 21:17:35 - OpenVPN > OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2022
. 2023.08.26 21:17:35 - OpenVPN > library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
. 2023.08.26 21:17:35 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2023.08.26 21:17:35 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2023.08.26 21:17:35 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]216.173.88.151:6500
. 2023.08.26 21:17:35 - OpenVPN > Socket Buffers: R=[131072->131072] S=[16384->16384]
. 2023.08.26 21:17:35 - OpenVPN > Attempting to establish TCP connection with [AF_INET]216.173.88.151:6500 [nonblock]
. 2023.08.26 21:17:36 - OpenVPN > TCP connection established with [AF_INET]216.173.88.151:6500
. 2023.08.26 21:17:36 - OpenVPN > Send to HTTP proxy: 'CONNECT 79.143.191.166:443 HTTP/1.0'
. 2023.08.26 21:17:36 - OpenVPN > Send to HTTP proxy: 'Host: 79.143.191.166'
. 2023.08.26 21:17:36 - OpenVPN > Attempting Basic Proxy-Authorization
. 2023.08.26 21:17:37 - OpenVPN > HTTP proxy returned: 'HTTP/1.0 407 Proxy Authentication Required'
. 2023.08.26 21:17:37 - OpenVPN > Proxy requires authentication
. 2023.08.26 21:17:37 - OpenVPN > Proxy requires authentication
. 2023.08.26 21:17:37 - OpenVPN > SIGUSR1[soft,init_instance] received, process restarting
. 2023.08.26 21:17:37 - OpenVPN > Restart pause, 5 second(s)
! 2023.08.26 21:17:37 - Disconnecting
. 2023.08.26 21:17:37 - Sending soft termination signal
. 2023.08.26 21:17:37 - OpenVPN > SIGINT[hard,init_instance] received, process exiting
. 2023.08.26 21:17:37 - Routes, delete 79.143.191.166/32 for interface "wlp2s0".
. 2023.08.26 21:17:37 - Routes, delete 79.143.191.166/32 for interface "wlp2s0", not exists.
. 2023.08.26 21:17:37 - Connection terminated.
I 2023.08.26 21:17:39 - Cancel requested.

 



After reading the log, I figured that there seems to be a proxy authentication problem. It is strange because I have entered both username and password correctly in the Eddie Proxy settings page.
So I tried switching my authentication method to IP WHITELIST from my proxy provider, AND set the authentication in my Eddie Proxy settings to (none) instead of (basic). When trying to connect to VPN, it gets stuck at the (Checking route IPv4) for minute, then disconnects. I have tried connecting to various servers and I get the same problem.

Please check the log:

I 2023.08.26 21:22:02 - Session starting.
I 2023.08.26 21:22:02 - Checking authorization ...
! 2023.08.26 21:22:03 - Connecting to Adhara (Germany, Frankfurt)
. 2023.08.26 21:22:03 - Routes, add 185.104.184.42/32 for interface "wlp2s0".
. 2023.08.26 21:22:03 - Routes, add 185.104.184.42/32 for interface "wlp2s0", already exists.
. 2023.08.26 21:22:03 - OpenVPN > OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2022
. 2023.08.26 21:22:03 - OpenVPN > library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
. 2023.08.26 21:22:03 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2023.08.26 21:22:03 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2023.08.26 21:22:03 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]216.173.88.151:6500
. 2023.08.26 21:22:03 - OpenVPN > Socket Buffers: R=[131072->131072] S=[16384->16384]
. 2023.08.26 21:22:03 - OpenVPN > Attempting to establish TCP connection with [AF_INET]216.173.88.151:6500 [nonblock]
. 2023.08.26 21:22:04 - OpenVPN > TCP connection established with [AF_INET]216.173.88.151:6500
. 2023.08.26 21:22:04 - OpenVPN > Send to HTTP proxy: 'CONNECT 185.104.184.42:443 HTTP/1.0'
. 2023.08.26 21:22:04 - OpenVPN > Send to HTTP proxy: 'Host: 185.104.184.42'
. 2023.08.26 21:22:04 - OpenVPN > HTTP proxy returned: 'HTTP/1.0 200 OK'
. 2023.08.26 21:22:06 - OpenVPN > TCP_CLIENT link local: (not bound)
. 2023.08.26 21:22:06 - OpenVPN > TCP_CLIENT link remote: [AF_INET]216.173.88.151:6500
. 2023.08.26 21:22:06 - OpenVPN > TLS: Initial packet from [AF_INET]216.173.88.151:6500, sid=0fee0e00 4bb1665d
. 2023.08.26 21:22:07 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2023.08.26 21:22:07 - OpenVPN > VERIFY KU OK
. 2023.08.26 21:22:07 - OpenVPN > Validating certificate extended key usage
. 2023.08.26 21:22:07 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2023.08.26 21:22:07 - OpenVPN > VERIFY EKU OK
. 2023.08.26 21:22:07 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Adhara, emailAddress=info@airvpn.org
. 2023.08.26 21:22:07 - OpenVPN > Control Channel: TLSv1.3, cipher TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 4096 bit RSA
. 2023.08.26 21:22:07 - OpenVPN > [Adhara] Peer Connection Initiated with [AF_INET]216.173.88.151:6500
. 2023.08.26 21:22:08 - OpenVPN > SENT CONTROL [Adhara]: 'PUSH_REQUEST' (status=1)
. 2023.08.26 21:22:08 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway ipv6 def1 bypass-dhcp,dhcp-option DNS 10.4.185.1,dhcp-option DNS6 fde6:7a:7d20:b9::1,tun-ipv6,route-gateway 10.4.185.1,topology subnet,ping 10,ping-restart 60,ifconfig-ipv6 fde6:7a:7d20:b9::1056/64 fde6:7a:7d20:b9::1,ifconfig 10.4.185.88 255.255.255.0,peer-id 0,cipher AES-256-GCM'
. 2023.08.26 21:22:08 - OpenVPN > Pushed option removed by filter: 'redirect-gateway ipv6 def1 bypass-dhcp'
. 2023.08.26 21:22:08 - OpenVPN > Pushed option removed by filter: 'dhcp-option DNS 10.4.185.1'
. 2023.08.26 21:22:08 - OpenVPN > Pushed option removed by filter: 'dhcp-option DNS6 fde6:7a:7d20:b9::1'
. 2023.08.26 21:22:08 - OpenVPN > Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1627
. 2023.08.26 21:22:08 - OpenVPN > OPTIONS IMPORT: data channel crypto options modified
. 2023.08.26 21:22:08 - OpenVPN > Data Channel: using negotiated cipher 'AES-256-GCM'
. 2023.08.26 21:22:08 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2023.08.26 21:22:08 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2023.08.26 21:22:08 - OpenVPN > TUN/TAP device tun0 opened
. 2023.08.26 21:22:08 - OpenVPN > TUN/TAP TX queue length set to 100
. 2023.08.26 21:22:08 - OpenVPN > do_ifconfig, tt->did_ifconfig_ipv6_setup=1
. 2023.08.26 21:22:08 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2023.08.26 21:22:08 - OpenVPN > /sbin/ip addr add dev tun0 10.4.185.88/24 broadcast 10.4.185.255
. 2023.08.26 21:22:08 - OpenVPN > /sbin/ip -6 addr add fde6:7a:7d20:b9::1056/64 dev tun0
. 2023.08.26 21:22:13 - OpenVPN > Initialization Sequence Completed
. 2023.08.26 21:22:13 - DNS of the system updated to VPN DNS (Rename method: /etc/resolv.conf generated)
. 2023.08.26 21:22:13 - Routes, add 0.0.0.0/1 for interface "tun0".
. 2023.08.26 21:22:13 - Routes, add 128.0.0.0/1 for interface "tun0".
. 2023.08.26 21:22:13 - Routes, add ::/1 for interface "tun0".
. 2023.08.26 21:22:14 - Routes, add 8000::/1 for interface "tun0".
. 2023.08.26 21:22:14 - Routes, add 185.104.184.43/32 for interface "tun0".
. 2023.08.26 21:22:14 - Routes, add 2001:ac8:20:5:e56b:4c39:f245:7761/128 for interface "tun0".
. 2023.08.26 21:22:14 - Flushing DNS
I 2023.08.26 21:22:14 - Checking route IPv4
. 2023.08.26 21:23:20 - Checking route (4° try)
. 2023.08.26 21:23:44 - Checking route (5° try)
E 2023.08.26 21:24:04 - Checking route IPv4 failed, last reason: curl: (28) Connection timed out after 20000 milliseconds
. 2023.08.26 21:24:04 - OpenVPN > [Adhara] Inactivity timeout (--ping-restart), restarting
. 2023.08.26 21:24:04 - OpenVPN > SIGUSR1[soft,ping-restart] received, process restarting
. 2023.08.26 21:24:04 - OpenVPN > Restart pause, 5 second(s)
. 2023.08.26 21:24:04 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]216.173.88.151:6500
. 2023.08.26 21:24:04 - OpenVPN > Socket Buffers: R=[131072->131072] S=[16384->16384]
. 2023.08.26 21:24:04 - OpenVPN > Attempting to establish TCP connection with [AF_INET]216.173.88.151:6500 [nonblock]
! 2023.08.26 21:24:04 - Disconnecting
. 2023.08.26 21:24:04 - Sending soft termination signal
. 2023.08.26 21:24:04 - OpenVPN > Closing TUN/TAP interface
. 2023.08.26 21:24:04 - OpenVPN > /sbin/ip addr del dev tun0 10.4.185.88/24
. 2023.08.26 21:24:04 - OpenVPN > /sbin/ip -6 addr del fde6:7a:7d20:b9::1056/64 dev tun0
. 2023.08.26 21:24:04 - OpenVPN > SIGINT[hard,init_instance] received, process exiting
. 2023.08.26 21:24:04 - Routes, delete 0.0.0.0/1 for interface "tun0", not exists.
. 2023.08.26 21:24:04 - Routes, delete 128.0.0.0/1 for interface "tun0", not exists.
. 2023.08.26 21:24:04 - Routes, delete ::/1 for interface "tun0", not exists.
. 2023.08.26 21:24:04 - Routes, delete 8000::/1 for interface "tun0", not exists.
. 2023.08.26 21:24:04 - Routes, delete 185.104.184.42/32 for interface "wlp2s0".
. 2023.08.26 21:24:05 - Routes, delete 185.104.184.43/32 for interface "tun0", not exists.
. 2023.08.26 21:24:05 - Routes, delete 2001:ac8:20:5:e56b:4c39:f245:7761/128 for interface "tun0", not exists.
. 2023.08.26 21:24:05 - Routes, delete 185.104.184.42/32 for interface "wlp2s0", not exists.
. 2023.08.26 21:24:05 - DNS of the system restored to original settings (Rename method)
. 2023.08.26 21:24:05 - Connection terminated.
I 2023.08.26 21:24:07 - Cancel requested.

 



Let me kindly repeat that the same settings WORK flawlessly in Windows11 using the proxy username/password authentication method. The issue here is with Linux only.

I cannot connect to VPN in my linux due to this problem.

Extra info:     I can connect on both OSs via the SSH protocol, which gives me ~15 % of my real speed unfortunately. So my only working option with acceptable speed is to be connected via a proxy using TCP protocol on Windows11 only, not linux.

Thanks in advance.

 

Selection_82z7.jpg

Edited ... by aishm
added PHOTO for proxy settings

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...