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

Re: [Openvpn-users] Re: still trying xp <-> linux


  • Subject: Re: [Openvpn-users] Re: still trying xp <-> linux
  • From: Jed Reynolds <lists@xxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 07 Aug 2005 17:25:26 -0700

Patrick Cervicek wrote:

Jed Reynolds wrote:



Problem 7
------------
When I specify --dev-node "tun0" in XP config, Ovpn can't find it. If I leave that line out, it finds the tun/tap device OK. Is this signifigant? I've seen other people post about how they've gotten xp<->linux with --dev tun before, tho the majority of the posters seem to be using --dev tap.


tun0 is a name under linux. When you specifiy 'dev tun' under windows, openvpn searches for an approriate tun-connection (e.g. Lan Connection 3). If you need to specify the name of you tun-connection, then use: dev-node

Isn't it wierd that this option doesn't work for me though, when I set it? Is it supposed to break if there's only one driver? That wouldn't make sense to me. I have renamed the device to tun0:

Ethernet adapter tun0:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V8
Physical Address. . . . . . . . . : 00-FF-64-5D-1D-47
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.101.1.14
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.101.1.13
Lease Obtained. . . . . . . . . . : Sunday, August 07, 2005 5:14:15 PM
Lease Expires . . . . . . . . . . : Monday, August 07, 2006 5:14:15 PM


I wasn't certain if dev-node's non-acceptace was signifigant, and in this case, it's not signifigant, because I can get it to work.

Linux conf
----------------
route 10.101.1.0 255.255.255.0


When you want to connect your clients with other clients, than you need
'client-to-client', too

XP.ovpn
----------
dev tun0

dev tun

Though tun0 works on the XP config anyhow.


ifconfig 10.101.1.14 10.101.1.13
route 10.101.1.0 255.255.255.0 10.101.1.14

Remove that. Your Server is pushing these information to you.
By the way: You have to route to 10.101.1.13 (Linux) not to 10.101.1.14 (XP)


Cannot remove the ifconfig line. It won't start, gives error:
Options error: On Windows, --ifconfig is required when --dev tun is used
Use --help for more information.
Press any key to continue...

route 10.101.1.0 255.255.255.0 10.101.1.13 WORKS !!!
<happy dance>

Omitting the route effectively disconnects me.

Changing the ccd... to have push "route ..." doesn't seem to work. Nothing seems to get pushed.
Taking the ifconfig out of the ccd works, the ifconfig in the ccd didn't seem to get pushed.



But, this is great! My routing ignorance was my blockage. Thank you Patrick!

Jed

____________________________________________
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/2005-08/msg00091.html on line 244

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/2005-08/msg00091.html on line 244