A
A
Alexander2019-09-18 17:44:40
ubuntu
Alexander, 2019-09-18 17:44:40

What am I doing wrong when setting up dante-server on ubuntu 18?

Given: the server is virtual on Ubuntu 18.04, the network is alone and looks at the world, Dante-server is up, with the socks5 goal, the port is open. Everything seems to be done according to the manuals, here are the settings:

logoutput: /var/log/socks.log

internal: eth0 port = 1080
external: eth0
#external.rotation: same-same
socksmethod: username
user.privileged: root
user.notprivileged: nobody
user.libwrap: nobody
compatibility: sameport
client pass {
        from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
        log: error connect disconnect
}
# На loopback-интерфейс всем нельзя
socks block {
        from: 0.0.0.0/0 to: 127.0.0.0/8
        log: connect error
}
client block {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: connect error
}
socks pass {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: error connect disconnect
        user: userxxxx
}
socks block {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: connect error
}
НО при обращении к порту 1080 ошибки в логах:
Sep 18 17:09:42 (1568815782.091052) danted[40152]: info: Dante/server[1/1] v1.4.2 running
Sep 18 17:26:58 (1568816818.338135) danted[40155]: info: pass(1): tcp/accept [: 46.xxx.yyy.zzz.4231 45.xxx.yyy.zzz.1080
Sep 18 17:26:58 (1568816818.342990) danted[40155]: info: block(1): tcp/accept ]: 46.xxx.yyy.zzz.4231 45.xxx.yyy.zzz.1080: error after reading 1 byte in 0 seconds: unknown SOCKS version 67 in client request

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Ka4a, 2021-04-24
@Sartorio

socksmethod: username - this means that you must use authorization to connect to the proxy.
socksmethod: username none - change to this and we can connect without authorization (for example, from chrome, which does not know how to proxy authorization. And other applications that do not know how to authorize)
Specifically, your error says that you are using a socks5 server and trying to connect via http or sox4.

A
Alexander, 2019-09-23
@Sartorio

Well, I myself will answer my own question - "what am I doing wrong"!?.
I put "dante"!
Delivered 3proxy, all problems disappeared.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question