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

[Openvpn-users] Re: TAP - Connection between Windows and Linux (partially solved)


  • Subject: [Openvpn-users] Re: TAP - Connection between Windows and Linux (partially solved)
  • From: Roger <rgwch@xxxxxxxxxxx>
  • Date: Mon, 10 Jan 2005 07:44:59 +0100

Charles Duffy schrieb:
Eh? A /32 network (255.255.255.255) on a non-point-to-point interface is indicating that the only machine on your current network is yourself.

you are right, i should sleep some more... i did not test under windows yet, but i am sure it will work with the following:


openvpn --dev tap0 --ifconfig 192.168.4.10 255.255.255.0 --secret /root/vpn.key --float --daemon


What do your config files look like?
i made no config-files. does this make more sense? i wrote the line above in a small shell-script.

using it now, /sbin/route looks quite better...

Kernel IP Routentabelle
Ziel            Router        Genmask         Flags Metric Ref Use Iface
192.168.4.0     *             255.255.255.0   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         192.168.0.102 0.0.0.0         UG    0      0     0 eth0

but, how can i set, that all traffic now flows by the tap-device? will i have to set this in iptables?

i would also like on my client machines to have the default-gateway be a machine out of the 192.168.4.0-range, so i did /sbin/route del default and /sbin/route add default 192.168.4.10, but this did not bring the wished effect..


Thanks, 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