[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: "Guus Leeuw jr." <guus.leeuw@xxxxxxxxxxxxx>
  • Date: Sat, 12 Jan 2008 09:39:22 -0000

Jan,

Double-checked.

"ip persist" file does not exist, nor does the client state persistent IP.

I've now come to the office again, and changed from tap to tun interface,
which seems to work internally (even getting the expect 192.168.1.2 IP
Address).

Coming Monday, I'll be on the road again and see what connects now.
I have the feeling that maybe my broadband router was eating the UDP
interface already to a BT pre-defined class.

Groetjes,
Guus

> -----Original Message-----
> From: Jan Just Keijser [mailto:janjust@xxxxxxxxx]
> Sent: 11 January 2008 01:27
> To: guus.leeuw@xxxxxxxxxxxxx
> Cc: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openvpn-users] Old Configuration keeps showing up on
> Windows XP
> 
> 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