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

Re: [Openvpn-users] Old Configuration keeps showing up on Windows XP


  • Subject: Re: [Openvpn-users] Old Configuration keeps showing up on Windows XP
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Fri, 11 Jan 2008 02:26:48 +0100

Hi Guus,

please make sure that
- there's no 'ip persist' file in the openvpn directory on the clients
- make sure you restart the openvpn instance on the *server* as well: it 
sounds like you're connecting to an old config.

HTH,

JJK

Guus Leeuw wrote:
> Hello,
>
> I have a working tun OpenVPN connection through which I can effectively
> connect to my server when away from home.
>
> This network is 10.52.0.0/24
>
> However, I made a mistake with the DNS option, I specified 10.8.0.1.
> Obviously incorrect. I changed that to 10.52.0.1 for the OpenVPN server,
> but the client will not pick up on this change.
>
> In the meantime, I've changed to a TAP interface, on the server, I have
> the following config:
> port 1194
> dev tap
> tls-server
> cd /etc/openvpn
> ca /etc/openvpn/keys/ca.crt
> cert /etc/openvpn/keys/apps.itpassion.com.crt
> key /etc/openvpn/keys/apps.itpassion.com.key
> dh /etc/openvpn/keys/dh1024.pem
> mode server
> duplicate-cn
> ifconfig 192.168.1.1 255.255.255.0
> ifconfig-pool 192.168.1.2 192.168.1.200 255.255.255.0
> push "dhcp-option DNS 192.168.123.2"
> push "route-gateway 192.168.1.1"
> mtu-test
> tun-mtu 1500
> tun-mtu-extra 32
> mssfix 1450
> ping 10
> ping-restart 120
> push "ping 10"
> push "ping-restart 60"
> push "route 192.168.1.0 255.255.255.0 192.168.1.1"
> push "route 192.168.123.0 255.255.255.0 192.168.1.1"
> comp-lzo
> status openvpn-status.log
> verb 9
>
>
> And on the client I have the configuration:
> port 1194
> dev tap
> remote apps.itpassion.com
> tls-client
> ca "C:\\Program Files\\OpenVPN\\config\\keys\\ca.crt"
> cert "C:\\Program Files\\OpenVPN\\config\\keys\\leeuwg-137f93j.crt"
> key "C:\\Program Files\\OpenVPN\\config\\keys\\leeuwg-137f93j.key"
> mtu-test
> tun-mtu 1500
> tun-mtu-extra 32
> mssfix 1450
> pull
> float
> ping 10
> ping-restart 60
> comp-lzo
> verb 9
>
>
> I've deleted the previous install of OpenVPN-GUI 1.0.3 that comes with
> OpenVPN2.0.9 on the client, and re-installed it. Tested the connection,
> and got connected to IP Address 10.52.0.6 from my old configuration...
>
> I rebooted the machine, and still get connected to that address.
>
> Looking at the /var/log/messages, I don't even seem to get any request at
> the server...
>
> Please help, I'm at a loss as to why OpenVPN doesn't pick up an IP Address
> in the range 192.168.1.2 - 192.168.1.200
>
>
>   

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users