Dante Client: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 6: | Zeile 6: | ||
<pre> | <pre> | ||
route { | route { | ||
| − | from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10. | + | from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.88.2xx.1 port = 1080 |
protocol: tcp udp | protocol: tcp udp | ||
proxyprotocol: socks_v4 socks_v5 | proxyprotocol: socks_v4 socks_v5 | ||
Aktuelle Version vom 31. Juli 2025, 11:36 Uhr
Installation
sudo apt install dante-client
Konfiguration
cat /etc/dante.conf
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.88.2xx.1 port = 1080
protocol: tcp udp
proxyprotocol: socks_v4 socks_v5
method: none
}
Konfigurationsoptionen
| Direktive | Bedeutung |
|---|---|
from |
Lokale Quelladresse, für die die Regel gilt (hier: alle) |
to |
Zieladresse, die erreicht werden soll (hier: alle) |
via |
IP-Adresse des SOCKS-Servers |
port |
Port des SOCKS-Proxys (Standard: 1080) |
protocol |
Protokolle, die über den Proxy geleitet werden (hier: TCP und UDP) |
proxyprotocol |
Verwendetes SOCKS-Protokoll (Version 4 und 5 erlaubt) |
method |
Authentifizierungsmethode (hier: keine) |
Nutzung: Socksifizierung von Programmen
socksify ssh root@192.168.5.200 -p 8472socksify curl http://example.comsocksify telnet 192.168.1.10 23socksify ping 8.8.8.8socksify git clone https://github.com/example/repo.gitsocksify nc -vz somehost 22