Dante Client: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | = | + | = Installation = |
| − | *sudo apt install dante-client | + | * <code>sudo apt install dante-client</code> |
| − | =Konfiguration= | + | |
| − | *cat /etc/dante.conf | + | = Konfiguration = |
| − | <pre> | + | * <code>cat /etc/dante.conf</code> |
| + | <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 | ||
| Zeile 12: | Zeile 13: | ||
</pre> | </pre> | ||
| − | =Socksifizierung von | + | == Konfigurationsoptionen == |
| − | *socksify ssh root@192.168.5.200 -p 8472 | + | {| class="wikitable" |
| + | ! Direktive || Bedeutung | ||
| + | |- | ||
| + | | <code>from</code> || Lokale Quelladresse, für die die Regel gilt (hier: alle) | ||
| + | |- | ||
| + | | <code>to</code> || Zieladresse, die erreicht werden soll (hier: alle) | ||
| + | |- | ||
| + | | <code>via</code> || IP-Adresse des SOCKS-Servers | ||
| + | |- | ||
| + | | <code>port</code> || Port des SOCKS-Proxys (Standard: 1080) | ||
| + | |- | ||
| + | | <code>protocol</code> || Protokolle, die über den Proxy geleitet werden (hier: TCP und UDP) | ||
| + | |- | ||
| + | | <code>proxyprotocol</code> || Verwendetes SOCKS-Protokoll (Version 4 und 5 erlaubt) | ||
| + | |- | ||
| + | | <code>method</code> || Authentifizierungsmethode (hier: keine) | ||
| + | |} | ||
| + | |||
| + | = Nutzung: Socksifizierung von Programmen = | ||
| + | * <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> | ||
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