Dante Client: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Install= *sudo apt install dante-client =Konfiguration= *cat /etc/dante.conf <pre> . route { from: 0.0.0.0/0 to: 0.0.0.0/0 via: 127…“)
 
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
=Install=
+
= 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: 127.0.0.1 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 11: Zeile 12:
 
}
 
}
 
</pre>
 
</pre>
=Socksifizierung von ssh=
+
 
*socksify ssh root@192.168.0.254 -p 8472
+
== Konfigurationsoptionen ==
 +
{| 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