|
|
Andrew Clarke <spam@xxxxxxxxx> said: > Well better late than never, hopefully, to add my experience to this > issue but I get a similar issue with beta 14 on Windows XP Pro. When > I'm using a wireless network and for any reason can't log in > automatically, I have to manually restart the VPN service before it will > work. This will happen if I have to log onto the network (i.e. T-Mobile > hotspots or my wife's university), or any reason like that. I never > need to use the VPN at home which is about the only place I DON'T need > to log in first so I haven't tested it to see whether it will > automatically work in situations like that. > > So here's what I do: > > 1. Start the computer & log in > 2. Log into or enable my wireless network > 3. Restart the OpenVPN service Interesting... I run XP Pro as well. When I travel, I am able to start up the service on my laptop the moment I disconnect locally from the LAN. I can then log onto wireless, dial-up modems, go through multiple sleep/resume cycles, and go through periods of time where the machine has no internet connection, and the service is always able to stay in sync with this kind of dynamic usage. As soon as I connect to the internet (by wireless or modem or ethernet), the VPN goes online within seconds. Here are the config files I use: ############################# # Connect LAN with road warrier -- TUN version # Linux Server side # Runs on OpenVPN 1.5.0 or higher # IP settings port 1999 dev road0 dev-type tun ifconfig 10.20.0.2 10.20.0.1 tun-mtu 1500 mssfix 1450 # crypto config cipher bf-cbc replay-persist roadwar.rp # TLS config tls-server dh key/dh2048.pem ca key/ca.crt cert key/server.crt key key/server.key tls-auth key/roadwar-tlspass 0 key-method 2 # restart control persist-key persist-tun ping-timer-rem ping-restart 60 ping 10 # compression comp-lzo # UID user nobody group nobody # verbosity verb 3 ######################## # Connect LAN with road warrier -- TUN version # XP Client side # Runs on OpenVPN 1.5.0 or higher remote [server's public IP address] # IP settings port 1999 dev tun dev-node roadwar ifconfig 10.20.0.1 10.20.0.2 tun-mtu 1500 mssfix 1450 # This setting lets you access # all machines on the server's LAN. route 10.0.0.0 255.255.255.0 up-delay # crypto config cipher bf-cbc replay-persist boulder.rp # TLS config tls-client ca ca.crt cert client.crt key client.key tls-auth roadwar-tlspass.txt 1 key-method 2 # Intervals ping 10 ping-restart 60 persist-tun persist-key resolv-retry 604800 reneg-sec 21600 # compression comp-lzo # verbosity verb 3 mute 10 ########################## James > -----Original Message----- > From: openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx > [mailto:openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of James > Yonan > Sent: Monday, November 17, 2003 12:40 > To: rsalles@xxxxxxxxxxxxxxxxxxxx; Alex Lemaresquier; > openvpn-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: [Openvpn-users] Re: OpenVPN 1.5 Release Candidate 1 > > > Renato Salles <rsalles@xxxxxxxxxxxxxxxxxxxx> said: > > > Tough i hadn't experienced this strange behaviour, i have a friend > > that connects to one server here from a win2k host, and he told me > > about the same problem, few days ago. > > Can you provide a recipe for reproducing the problem? > > I haven't been able to reproduce on XP. > > James > > > Just to let the list know that the problem related by Alex is not > > unique. > > > > RSalles > > > > > Hello everyone, > > > I've just installed openvpn under Win2k recently for an eval, and > > > after struggling a little bit with the config it worked like a > > > charm. Great product! ;) So far so good... until I rebooted. It > > > seems that if you log in before interfaces are loaded, something > > > happen when they load later on and this shuts down win2k. It works > > > fine if you wait a little so that network interfaces are loaded > > > before you log in. My config: service is registered, manual not > > > started. The interface is not configured at start (and indeed shows > > > the red cross, as expected). It's running on win2k sp4 with the > > > latest updates. Tell me if you want more details, I've just > > > subscribed to the list. > > > > > > Keep up the good work! > > > > > > Thanks, > > > Alex. > > > > > > > > > > > > ------------------------------------------------------- > > > This SF. Net email is sponsored by: GoToMyPC > > > GoToMyPC is the fast, easy and secure way to access your computer > > > from any Web browser or wireless device. Click here to Try it Free! > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp. > > > tmpl > > > _______________________________________________ > > > Openvpn-users mailing list > > > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > > > https://lists.sourceforge.net/lists/listinfo/openvpn-users > > > > > > > > > -- > > "A well-written program is its own heaven; a poorly-written program is > its > > own hell." > > TAO of Programming - Book 4 > > > > > > ------------------------------------------------------- > > This SF. Net email is sponsored by: GoToMyPC > > GoToMyPC is the fast, easy and secure way to access your computer from > > > any Web browser or wireless device. Click here to Try it Free! > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target______________ > _________________________________ > > Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > > https://lists.sourceforge.net/lists/listinfo/openvpn-users > > > > > > -- > > > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users > > -- |