Dante Client: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 6: Zeile 6:
 
<pre>
 
<pre>
 
route {
 
route {
         from: 0.0.0.0/0  to: 0.0.0.0/0  via: 10.82.113.33 port = 1080
+
         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 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>
== Hinweis ==
+
* <code>socksify telnet 192.168.1.10 23</code>
* Das Tool <code>socksify</code> leitet Programme transparent durch den konfigurierten SOCKS-Proxy.
+
* <code>socksify ping 8.8.8.8</code>
* Weitere Programme können ebenso verwendet werden: z. B. <code>socksify curl</code>, <code>socksify git</code> usw.
+
* <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