jnperry / azilink

Automatically exported from code.google.com/p/azilink
GNU General Public License v2.0
23 stars 18 forks source link

VPN over OpenVPN doesn't work #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

1. Working azilink setup from Mac OS X - WORKS
tun0 -> openvpn -> adb -> azilink -> whatever

2. Attempt to open a Mac OS VPN on top of all that - FAILS
VPN -> tun0 -> openvpn -> adb -> azilink -> whatever -> VPN

Original issue reported on code.google.com by johnmil...@google.com on 12 Sep 2009 at 5:58

GoogleCodeExporter commented 9 years ago
My guess is either that the IP ranges overlap and confuse MacOS's routing 
tables, or that the VPN is using a 
protocol other than TCP/UDP.  Unfortunately, since the app doesn't run as root, 
it can't forward IPSEC's AH/ESP 
protocol directly (although nowadays most IPSEC implementations have a NAT 
traversal mode that encapsulate 
everything inside UDP, which should work).

I know people have gotten OpenVPN -> OpenVPN -> adb -> azilink -> whatever -> 
VPN to work on 
Windows/Linux, but dunno about MacOS or IPSEC.

Original comment by aziwoq...@gmail.com on 12 Sep 2009 at 7:10

GoogleCodeExporter commented 9 years ago
John, I have similar issue on Win XP - with azilink and VPN. Problem is that 
I'm not 
using VPN directly but connection is being created by software that let me 
connect to 
company's internal network.
This software disconnect me from OpenVPN.

Original comment by dkop...@gmail.com on 13 Sep 2009 at 11:44

GoogleCodeExporter commented 9 years ago
Solution: create a second tun/tap device for your 2nd-vpn over 1st-vpn 
connection.
(first tun/tap is occupied by azilink, second to be used by 2nd-vpn conn)

Required on Windows: 
0)click START/OpenVPN/Utilities/Add a new TAP virtual ethernet adapter
1)give 2nd tun/tap-device a custom name (e.g. OpenVPN_toHome)
it's "LAN-Connection 2" of type "TAP-Win32 Apapter V9 #2" on my system
2)name it in .ovpn-config, eg.:
dev tap
dev-node OpenVPN_toHome
3) done

-> now you are able to connect to the 2nd openvpn.

Original comment by Malte.Wo...@googlemail.com on 8 Oct 2009 at 9:19

GoogleCodeExporter commented 9 years ago
when i try and do this on windows 7 64 bit i get a dos window with error 
messages. 
please see my other thread about run "adb forward tcp:41927 tcp:41927" to set 
up 
port forwarding

Original comment by Chadch...@gmail.com on 31 Dec 2009 at 7:39

GoogleCodeExporter commented 9 years ago
i got cisco vpn working over open vpn using the vpnc open source client with 
the "--
natt-mode cisco-udp" option.

Original comment by jtolds on 3 Mar 2010 at 6:24

GoogleCodeExporter commented 9 years ago
I cannot start a WinXP L2TP IPSec connection to my company's VPN over azilink 
(error
721 - policy negotiation timeout). I know it has NAT-T so it should work. Does 
anyone
have an idea how to fix it?

Original comment by marek.go...@gmail.com on 19 Apr 2010 at 8:54