#1 2018-12-22 14:30:29

BobZombiE
Trusted Member
Registered: 2018-12-20
Posts: 5

Dante socks 5 proxy server , problem on NAT VPS, MrVM

I have two vps ,
vps#1 has a dedicated ipv4 and i can run dante socks 5 proxy server without any problem.

vps#2: But on NAT vps , with same config , (and incomming correct port) i have problem
Dante is running , and in the log i can see that dante can receive the connection and send/pass it to internet , but it's not working
can you please help me
I guess i need some iptables rules , like source nat or dest nat
or maybe there is some problem with nat rules of openvz container
--------------------------------------------------------------------------------------------------

when in the client computer i run the command:
curl -v -x socks5://madness.ddns.net:12012 https://www.wikipedia.org/

and here is the log file :

danted[13203]: info: pass(1): tcp/accept [: 2.x.x.x.59544 172.16.y.y..12012
danted[13205]: info: pass(1): tcp/connect [: 2.x.x.x.59544 172.y.y.120.12012 -> 172.16.y.y.59544 91.198.174.192.443

and nothing else

----------------------------------------------------------------------------------------------------
here is the dante.conf

logoutput: /var/log/sockd.log
user.privileged: root
user.unprivileged: nobody
internal: 0.0.0.0 port = 12012
external: venet0:0
socksmethod: none
clientmethod: none
user.libwrap: nobody
client pass {
        from: 0/0 to: 0/0
        log: connect disconnect error
}
socks pass {
        from: 0/0 to: 0/0
        log: connect disconnect error
}

Offline

#2 2018-12-22 14:47:18

AnthonySmith
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,879
Website

Re: Dante socks 5 proxy server , problem on NAT VPS, MrVM

internal: 0.0.0.0

I would think that needs to be your actual local IP OR the external IP to prevent binding to the wrong one, not sure how Dante works exactly so this is just a guess.


https://upto32.com retro gaming and nostalgia forum that does not take itself to seriously smile

Offline

#3 2018-12-23 12:56:42

mikho
Low End Mod
From: Hell and gore == Sweden
Registered: 2013-03-02
Posts: 1,647
Website

Re: Dante socks 5 proxy server , problem on NAT VPS, MrVM

Let me know what location you have your vps at.

Offline

#4 2018-12-23 13:13:56

BobZombiE
Trusted Member
Registered: 2018-12-20
Posts: 5

Re: Dante socks 5 proxy server , problem on NAT VPS, MrVM

AnthonySmith wrote:

internal: 0.0.0.0

I would think that needs to be your actual local IP OR the external IP to prevent binding to the wrong one, not sure how Dante works exactly so this is just a guess.

I tried venet0 : dante can start  if i use ipv4 ?& ipv6
i tried venet0:0 : dante can start only  for ipv4
i tried private ip 172.16.x.x : dante can start only  for ipv4
but socks5 is not working and i sent the log in the previous post

i tried public ip : 208.73.x.x : dante CAN NOT start !

so the correct address is 0.0.0.0 or venet0 or venet0:0


i had a dedicated ipv4 service in woothosting , and the same config file is working.
but in the NAT ipv4 it's not working.

Offline

#5 2018-12-23 13:15:56

BobZombiE
Trusted Member
Registered: 2018-12-20
Posts: 5

Re: Dante socks 5 proxy server , problem on NAT VPS, MrVM

mikho wrote:

Let me know what location you have your vps at.

Thank you very much for replying.
my vps is at : VPS - NAT128 (US-WV)  - USA Berkeley Springs West Virginia 172.16.90.120

Offline

Board footer

Powered by FluxBB