First let me say hello to everyone, I have been a long time browser of this forum. This is my first time posting. Thanks in advance.
Having Issues with my VPN
This is what my network interfaces and routes look like before I start the VPN
eth1 Link encap:Ethernet HWaddr 50:46:5d:0a:7c:4d
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5246:5dff:fe0a:7c4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14801 errors:0 dropped:1 overruns:0 frame:0
TX packets:9927 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2989813 (2.9 MB) TX bytes:1103700 (1.1 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2200 (2.2 KB) TX bytes:2200 (2.2 KB)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
Commands I use to start VPN:
sudo /etc/init.d/pppd-dns restart
sudo /etc/init.d/xl2tpd restart
sudo /etc/init.d/ipsec restart
ipsec auto --up L2TP-PSK
echo "c StrongVPN" > /var/run/xl2tpd/l2tp-control
Network interfaces and routes after VPN has started:
eth1 Link encap:Ethernet HWaddr 50:46:5d:0a:7c:4d
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5246:5dff:fe0a:7c4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15431 errors:0 dropped:1 overruns:0 frame:0
TX packets:10641 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3062622 (3.0 MB) TX bytes:1237201 (1.2 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2300 (2.3 KB) TX bytes:2300 (2.3 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:yyy.yyy.yyy.208 P-t-P:yyy.yyy.yyy.129 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:74 (74.0 B) TX bytes:82 (82.0 B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
yyy.yyy.yyy.129 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
I changed the IP's a little for my sense of security
Anyway the ppp0 interface seems to be up. How do i route traffic through it?
My main goal is to set rtorrent to use yyy.yyy.yyy.208 as its binding IP and torrent through the tunnel. But its not working.
Any help is appreciated. Thanks in advance.
Im using ubuntu 12.10 64bit