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

[Openvpn-users] TAP - Connection between Windows and Linux


  • Subject: [Openvpn-users] TAP - Connection between Windows and Linux
  • From: Roger <rgwch@xxxxxxxxxxx>
  • Date: Fri, 07 Jan 2005 15:48:34 +0100

Hi,

i tried out openvpn, which seems really be a excellent product and got a connection up & running using the tun-device from linux to linux.

It seems, as windows doesn't like tun because of the standard netmask 255.255.255.255 - win needs 255.255.255.252 (at least) and my linux-machine always did 255.255.255.255

so, i never go out, how i can tell openvpn using tun-adresse 192.168.4.10 on netmask 255.255.255.252 and i tried tap with the following:

openvpn --dev tap0 --ifconfig 192.168.4.52 255.255.255.252 --route 192.168.4.0 --route-gateway my-real-gateway --secret secret.key --float --daemon

at least, this works (somehow), just /sbin/route looks somehow strange:

192.168.4.0     my-real-gateway 255.255.255.255 UGH   0      0        0 eth0
192.168.4.52    *               255.255.255.252 U     0      0        0 tap0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         outside-gateway 0.0.0.0         UG    0      0        0 eth0

do you have any hints, how i can get this connection up either via tun (preferred) and a working netmask on the linux-machine or

via tap?

Thank you very much for your help

Roger



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users