Skip to main content

Thread: Tunnel does not work for experimental VPN server


i can not create tunnel on 11.10 works for:
http://mirror.yongbok.net/linux/andr...yvpnserver.cpp
suggest:

code:
# enable ip forwarding echo 1 > /proc/sys/net/ipv4/ip_forward # pick range of private addresses , perform nat on eth0.  iptables -t nat -a postrouting -s 10.0.0.0/8 -o eth0 -j masquerade  # create tun interface.  ip tuntap add dev tun0 mode tun  # set addresses , bring interface.  ifconfig tun0 10.0.0.1 dstaddr 10.0.0.2 up
my network interfaces:
code:
ifconfig  eth0      link encap:ethernet  hwaddr f0:de:f1:b9:13:54             inet addr:192.168.1.127  bcast:192.168.1.255  mask:255.255.255.0           inet6 addr: fe80::f2de:f1ff:feb9:1354/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:238878 errors:0 dropped:0 overruns:0 frame:0           tx packets:371211 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:86061021 (86.0 mb)  tx bytes:440620273 (440.6 mb)           interrupt:20 memory:f2500000-f2520000   wlan0     link encap:ethernet  hwaddr 10:0b:a9:38:fb:c0             inet addr:192.168.1.114  bcast:192.168.1.255  mask:255.255.255.0           inet6 addr: fe80::120b:a9ff:fe38:fbc0/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:18250 errors:0 dropped:0 overruns:0 frame:0           tx packets:2625 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:5123029 (5.1 mb)  tx bytes:748977 (748.9 kb)
i have tried changing
10.0.0.0/8, 10.0.0.1, 10.0.0.2 other "reasonable" addresses.


how can check if tunnel working?

know little tunnels --thank help.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Tunnel does not work for experimental VPN server


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?