You are not logged in.
Pages: 1
I'm totally clueless about this stuff so feel free to laugh .
I think I successfully setup a p2p vpn . But I don't know how to direct all the traffic to tun0 interface .
I did this (from the official How-to) :
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o wlan0 -j MASQUERADE
It's now working .
No fancy configuration .
server
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
push "redirect-gateway def1"
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
user nobody
group nobody
daemon
client
remote mydomain.org
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
user nobody
group nobody
daemon
Last edited by Nezmer (2009-09-24 15:06:55)
English is not my native language .
Offline
Pages: 1