Note: This is a repost from the OpenVPN forums
I have just set up an OpenVPN on my Linode VPS, and I have successfully connected my Android phone to it. Now, I want to use the "route all traffic" option on the client. I'm not sure how to set up the routes on the server side though, so I would greatly appreciate any help. I'm taking a class this summer at my local Community College, and they seem to think that an open WAN with web authentication is secure enough.
Here are my interface configurations:
eth0 Link encap:Ethernet HWaddr
f2:3c:91:93:a8:c2
inet addr:173.255.235.246 Bcast:173.255.235.255
Mask:255.255.255.0
inet6 addr: 2600:3c03::f03c:91ff:fe93:a8c2/64
Scope:Global
inet6 addr: fe80::f03c:91ff:fe93:a8c2/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:126144742 errors:0 dropped:0 overruns:0 frame:0
TX packets:315279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2301671639 (2.3 GB) TX bytes:136422020 (136.4 MB)
Interrupt:44
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:3971 errors:0 dropped:0 overruns:0 frame:0
TX packets:3971 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:753104 (753.1 KB) TX bytes:753104 (753.1 KB)
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Answer
Bear in mind that although openvpn will provide you a secure tunnel it won't stop access to your android device across the LAN, so you might want to be having a look at that too.
What is your network layout on the vpn server side of things? That will help get the ball rolling.
No comments:
Post a Comment