Proxy socks Dante

yvasnil -  
mamiemando Messages postés 33772 Date d'inscription   Statut Modérateur Dernière intervention   -
Bonjour


Je cherche a configurer Dante , afin de pouvoir l utiliser comme proxy pour Utorrent , jdownloader etc .


Deja est ce que c'est une bonne idée ?

Grosse Galere , j'ai chercher a mort , et malgre le fait que tout le monde dise qu il soit simple a configurer , je n y suis pas arriver ...


Voici un cc de mon danted.conf



#Where are we going to log all those useful error messages?
logoutput: /var/log/dante.log

#What ip and port should Dante listen on,
# since I am only going to be using this via my ip fix
#I only want to allow connections from
81.xx.xxx.x port = 3456

#Bind to the eth0 interface
external: eth0

#for the test no auth method
method: username none

#Which unprivileged user will Dante impersonate if need-be?
user.notprivileged: nobody

# Who can access this proxy?
# Accept only connections from my ip , all ports
client pass {
from: 81.xx.xxx.xport 1-65535 to: 0.0.0.0/0
}

#Block all other connection attempts
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}

# Once connected, where can they go?
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}

#Pass from the internal IP to anywhere
pass {
from: 192.168.0.0/16 to: 0.0.0.0/0
protocol: tcp udp
}

#Pass from mi main ip going anywhere
pass {
from: 81.xx.xxx.x/8 to: 0.0.0.0/0
protocol: tcp udp
}

# Block everything else
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}



si quelqu'un peut m 'aider a le configurer ? ou au moins me dire si ce que j attends de lui est possible ?
A voir également:

1 réponse

mamiemando Messages postés 33772 Date d'inscription   Statut Modérateur Dernière intervention   7 882
 
Ça ne répond pas à la question, mais dans le temps j'utilisais tsocks qui se configurait via /etc/tsocks.conf (où tu indiquait l'adresse du proxy socks). Ensuite il fallait lancer ton application au travers de tsocks. Par exemple si c'était une commande ssh :

tsocks ssh login@machine


Bonne chance
0