[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian irc proxy



Fabio Napoleoni ha scritto:
>
> Abilita il nat dalla scheda virtuale di hamachi all'ip di fastweb, non
> ricordo bene i comandi quindi vado a memoria, ma dovrebbe essere
> sufficiente questo
>
> # echo "1" > /proc/sys/net/ipv4/ip_forward
> # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>
> mentre sulla macchina esterna dalla quale vuoi collegarti metti come
> default gateway (oppure solo per certe destinazioni a seconda se vuoi o
> meno che tutto il traffico passi per il vpn e poi dentro fastweb) l'ip
> dell'interfaccia hamachi della macchina fastweb.
>
> Saluti
>
>   

Grazie Fabio.

Ho provato come mi dici, ma... non so come impostare poi x-chat per
collegarmi al server irc dentro fastweb.

Ricapitolo un attimo:

1. hamachi funzionante su entrambi i pc
2. sul server eseguo:

> # echo "1" > /proc/sys/net/ipv4/ip_forward
> # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

3. apro x-chat in locale e:

    a) inserisco nel campo del server l'indirizzo (di fastweb) del
server irc (es: 10.0.0.1.2/6667)
    b) faccio connettere tramite il proxy (spunto la casella)
    c) configuro nelle opzioni di connessione di irc l'ip del proxy.

Problema, non so che porta del proxy mettere (per caso la 6667?), non so
che altre impostazioni mettere (socks 1, 2, http...)...

Come posso/devo fare? sono sicuro che è una stupidaggine... :D

enjoy, ;)
giopas

-- 
"The paradigm of competition is a race: by
rewarding the winner, we encourage everyone
to run faster. When capitalism really works
this way, it does a good job; but its defenders
are wrong in assuming it always works this way.
If the runners forget why the reward is offered
and become intent on winning, no matter how, they
may find other strategies--such as, attacking
other runners. If the runners get into a fist
fight, they will all finish late."
(GNU manifesto/R. Stallman)



Reply to: