View previous topic :: View next topic |
Author |
Message |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Wed May 11, 2005 1:18 pm Post subject: [RETE] Vtun come si usa? |
|
|
Come da topico ho emerso ma non ci capisco una cippa lippa e gli howto americani mi risultano alquanto criptici avete un esempio molto semplice? _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed May 11, 2005 2:00 pm Post subject: |
|
|
il sito mi sembra molto ben fatto...
ci sono esempi e anche mailing-lists.
Non l'ho mai usato perche' openvpn mi ha sempre soddisfatto.
C'e' un motivo particolare per cui prediligere vtun?
ciao _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Wed May 11, 2005 3:59 pm Post subject: |
|
|
si openvpn nn funziona bene nn so perche mi rifiuta alcuni pacchetti e non è un problema di rete _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed May 11, 2005 8:53 pm Post subject: |
|
|
questa e' nuova
lo usi in TAP mode o TUN? _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Thu May 12, 2005 8:43 am Post subject: |
|
|
entrambi non andavano ho risolto con vtun:
Code: | # cat vtun/vtun.conf
options {
port 1001;
ifconfig /sbin/ifconfig;
}
default {
type tun;
proto tcp;
}
marbella {
speed 192:192;
pass ****;
encrypt yes;
keepalive yes;
persist yes;
compress lzo:5;
stat yes;
up {
ifconfig "%% 10.10.1.2 pointopoint 10.10.1.1";
};
down {
ifconfig "%% down";
};
}
|
Solo vorrei poter lanciare dei comandi all'interno di questo conf ma non so come fare
i comandi sono questi:
Code: | ip route add default via 192.168.255.1 table delega2
ip rule add from 192.168.255.2 table delega2
|
e dall'alttro lato:
Code: | iptables -t nat -A PREROUTING -d 62.152.108.69 -j DNAT --to 10.10.1.2
iptables -t nat -A POSTROUTING -s 10.10.1.2 -j SNAT --to 62.152.108.69 |
Ma non capisco come inserirli o meglio li inserisco come dice il manuale ma non fuzionano _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Thu May 12, 2005 9:15 am Post subject: |
|
|
e' molto strano che non vada openvpn... cmq tornando IT..
invece di fare route....
prova a fare echo "ciao" > tmp/funziona
per vedere se effettivamente lancia lo script!
oppure redireziona l'output e lo stderr su un file...
ciao _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|