![Dante-Server wegen Verbindung geschlossen](https://rvso.com/image/1711445/Dante-Server%20wegen%20Verbindung%20geschlossen.png)
Ich richte einen Socks5-Server mit Amazon AWS ein. Auf meinem VPS habe ich Ubuntu 18.04. Ich habe Dante-Server über installiert sudo apt-get install
. Danach habe ich die Dante-Konfigurationsdatei bearbeitet und danted.service aktiviert. Es scheint ordnungsgemäß zu funktionieren, aber ich kann keine Verbindung herstellen. Um die Verbindung zu überprüfen, verwende ich:
curl --socks5 proxyuser:proxypass@myvpsip:1080 ident.me; echo
Dies ist danted.conf:
logoutput: /var/log/socks.log
internal: eth0 port = 1080
external: eth0
socksmethod: username
user.privileged: root
user.unprivileged: nobody
user.libwrap: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: error connect disconnect
}
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
}
socks block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
sudo systemctl status danted.service gibt mir Folgendes zurück:
danted.service - SOCKS (v4 and v5) proxy daemon (danted)
Loaded: loaded (/lib/systemd/system/danted.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-06-07 13:26:44 UTC; 27min ago
Docs: man:danted(8)
man:danted.conf(5)
Process: 19901 ExecStart=/usr/sbin/danted -D (code=exited,
status=0/SUCCESS)
Process: 19887 ExecStartPre=/bin/sh -c uid=`sed -n -e "s/[[:space:]]//g" -e "s/#.*//" -e "/^user\.privileged/{s/[^:]*://p;q;}" /etc/danted.conf`; if [ -n "$uid"
Main PID: 19902 (danted)
Tasks: 20 (limit: 1152)
CGroup: ...
Jun 07 13:26:44 ip-172-31-10-116 systemd[1]: Stopped SOCKS (v4 and v5) proxy daemon (danted).
Jun 07 13:26:44 ip-172-31-10-116 systemd[1]: Starting SOCKS (v4 and v5) proxy daemon (danted)...
Jun 07 13:26:44 ip-172-31-10-116 systemd[1]: Started SOCKS (v4 and v5) proxy daemon (danted).
Antwort1
Nachdem ich zwei Tage nach einer Lösung gesucht hatte, stellte ich fest, dass ich den erforderlichen Port zum Verbinden öffnen musste. Das habe ich erfolgreich über die Leiste auf der Amazon-Site erledigt.