Dante Client: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 34: | Zeile 34: | ||
= Nutzung: Socksifizierung von Programmen = | = Nutzung: Socksifizierung von Programmen = | ||
* <code>socksify ssh root@192.168.5.200 -p 8472</code> | * <code>socksify ssh root@192.168.5.200 -p 8472</code> | ||
| − | + | * <code>socksify curl http://example.com</code> | |
| − | + | * <code>socksify telnet 192.168.1.10 23</code> | |
| − | * | + | * <code>socksify ping 8.8.8.8</code> |
| − | * | + | * <code>socksify git clone https://github.com/example/repo.git</code> |
| + | * <code>socksify nc -vz somehost 22</code> | ||
Version vom 17. April 2025, 15:16 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.82.113.33 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