proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

SOCKS5 with user auth / NordVPN issues

Open matutetandil opened this issue 7 years ago • 11 comments

I'm trying to use proxychains4 with NordVPN. NordVPN username is my email, so it contains an @ in the middle. I'm trying to put my username like [email protected] or using 'curl' format: user%40domain.com (replacing the @ with %40). I didn't get an error with any of those, but I got a reject when I try to connect.

For this example, I'm using two servers, the first one is a socks5 in my local in port 3000, and the other is with NordVPN. This is the output I'm getting:

proxychains4 curl www.google.com [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.12 [proxychains] Strict chain ... 127.0.0.1:3000 ... 190.105.235.89:1080 ... www.google.com:80 <--denied curl: (7) Couldn't connect to server

This is my configuration: strict_chain proxy_dns tcp_read_time_out 15000 tcp_connect_time_out 8000 socks5 127.0.0.1 3000 socks5 190.105.235.89 1080 username%40domain.com password

I also tried [email protected], same result

Of course, I tested the proxy server using curl, and works ok, so there are no issues with my username or password.

matutetandil avatar Feb 11 '18 02:02 matutetandil

pls try the fix and tell us if it works, thx

rofl0r avatar Feb 11 '18 16:02 rofl0r

ok, I'll let you know, I just asked NordVPN to change my username to something without @, so I cannot test it. If someone else can do it, will be great!

matutetandil avatar Feb 11 '18 19:02 matutetandil

the @ was unrelated to the bug

rofl0r avatar Feb 11 '18 19:02 rofl0r

reopening this since i got word from other nord users that the issue is not resolved also someone was complaining that the bugfix was breaking his use case (but he didn't provide details) https://github.com/rofl0r/proxychains-ng/commit/06c20ed394a65cc9e959a30ea74b8b256f76c1fa

rofl0r avatar May 11 '18 21:05 rofl0r

term 1

~/cdev/cdev/microsocks[master*]$ ./microsocks -u user@host -P passw0rd

term2

~/proxychains-ng[master]$ cat test.conf
dynamic_chain
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]
socks5 127.0.0.1 1080 user@host passw0rd

~/proxychains-ng[master]$ ./proxychains4 -f test.conf curl ifconfig.me
[proxychains] config file found: test.conf
[proxychains] preloading ./libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.12-git-15-gbb30d86
[proxychains] Dynamic chain  ...  127.0.0.1:1080  ...  153.121.72.212:80  ...  OK
XXX.XXX.XXX.XXX
~/proxychains-ng[master]$

term 1

client[4] 127.0.0.1: connected to 153.121.72.212:80

proof that it works with or without @ with microsocks

so my suspicion would be that NordVPN's socks5 service does something odd...

rofl0r avatar May 11 '18 22:05 rofl0r

@matutetandil i pushed a potential fix, it'd be great if you could give current git master a try to see if we can finally close this issue.

rofl0r avatar May 30 '18 22:05 rofl0r

@rofl0r Sure! I'll try it during the day, and I'll let you know! Cheers!

matutetandil avatar May 30 '18 22:05 matutetandil

@matutetandil ping! it'd be really great if you could test soon, as i plan to make a release once the issue is fixed.

rofl0r avatar Jun 11 '18 01:06 rofl0r

i think this is solved as of 4.13. feel free to reopen if there are still issues.

rofl0r avatar Jul 13 '18 19:07 rofl0r

it seems there are still issues with nordvpn. reopening.

rofl0r avatar Apr 17 '19 02:04 rofl0r

Ensure that the authentication credentials are entered correctly. For example, at NordVPN, the authentication credentials differ from the login-password pair used to access your account. To get the username and password, you need to click the "Manual setup" button in your account. These details should be used in the line socks5 ip 1080 username password in the configuration file /etc/proxychains.conf.

da41b94c avatar Nov 13 '23 12:11 da41b94c