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

[Openvpn-users] --redirect-gateway makes DHCP-ip default gw


  • Subject: [Openvpn-users] --redirect-gateway makes DHCP-ip default gw
  • From: Ferenc-Jan <ferenc@xxxxxxxxxxxxx>
  • Date: Wed, 15 Dec 2004 18:59:52 +0100

Hi,

I am having problems with 2.0 server (1.6/2.0 p2p work fine) between W2K and Linux. Tunnel gets set up successfully (ping, smb works), but the w2k routing table looks strange to me. The tunnel entries are:

192.168.4.1     255.255.255.255 192.168.4.5   192.168.4.6        1
192.168.4.4     255.255.255.252 192.168.4.6   192.168.4.6        1
192.168.4.6     255.255.255.255 127.0.0.1     127.0.0.1          1

Has this got to do with the virtual DHCP server? .1 is the Linux endpoint, .6 the w2k endpoint. I want to route everything from w2k through the tunnel. I can't manually add 192.168.4.1 as default gateway; w2k complains 'the gateway is not in the same network as the interface.'

I tried out --redirect-gateway, but that added 192.168.4.5 as the default gw, which obviously did't work.

I've searched the manpage, the maillist etc. Where to look?

cheers

Ferenc

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