[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Could openvpn control the conflict network?


  • Subject: Re: [Openvpn-users] Could openvpn control the conflict network?
  • From: "oyk" <oyk@xxxxxxxxxxx>
  • Date: Mon, 11 Aug 2003 13:11:5 +0800

Hi,John Conneely
  Thank you very much! I will test it later. Now, I am testing in the follow environment:
  Assume: in my home, I have only an private ip, and I know my gateway, but I could not touch
it, which is controlled by my ISP. so, I only install the client side in my home box.
  I setup my test environment as the follow:

192.168.201.2 --192.168.201.0/24-- |192.168.201.1  10.1.0.232| --10.1.0.0/24--|10.1.0.178 192.168.200.1| --192.168.200/24-- 192.168.200.10
 home client                            home nat firewall                          Office FW                               one of office server
Yesterday, I do as HOWTO, setup the client side at Home FW and the server side at Office FW, it works fine.
Now, I want to setup the client side on my home client, but it fails.
I use the ssl/tls mode, and use the same key/crt as yesterday's.

[root@localhost mytest]#ls
home.crt  home.key  home.up  my-ca.crt  tls-home.conf
[root@localhost mytest]# ../sbin/openvpn --config tls-home.conf 
Mon Aug 11 13:11:42 2003 0[0]: OpenVPN 1.5-beta4 i686-pc-linux-gnu [SSL] [PTHREAD] built on Aug 11 2003
Mon Aug 11 13:11:42 2003 1[0]: WARNING: file 'home.key' is group or others accessible
Mon Aug 11 13:11:42 2003 2[0]: Data Channel MTU parms [ link_mtu=1300 extra_frame=41 extra_buffer=0 extra_tun=0 ]
Mon Aug 11 13:11:42 2003 3[0]: Control Channel MTU parms [ link_mtu=1300 extra_frame=38 extra_buffer=0 extra_tun=0 ]
Mon Aug 11 13:11:42 2003 4[0]: TUN/TAP device tun0 opened
Mon Aug 11 13:11:42 2003 5[0]: /sbin/ifconfig tun0 192.168.1.2 pointopoint 192.168.1.1 mtu 1259
Mon Aug 11 13:11:42 2003 6[0]: ./home.up tun0 1259 1300 192.168.1.2 192.168.1.1 init
: bad interpreter: No such file or directory
Mon Aug 11 13:11:42 2003 7[0]: script failed: shell command exited with error status: 126
Mon Aug 11 13:11:42 2003 8[0]: Exiting

I am not sure whether openvpn could thru firewall, (assume iptables only do nat work).

Best Regards
   Ouyang Kai
>Hi OYK,
>
>If both networks use the same network, you probably want to use Ethernet
>bridging.  This will enable things like broadcast messages to go over the
>VPN.  See the website for info on how to do this.
>
>If you want to use the IP routing method, I'm pretty sure you need two
>separate networks.
>
>John



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-08/msg00049.html on line 215

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-08/msg00049.html on line 215