Message-ID: <404B9DB3.9000509@...177...> From: Farkas Levente MIME-Version: 1.0 Subject: [Openvpn-devel] one more request for usability Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Mar 7 14:19:01 2004 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net hi, a few mounth ago I requested the redirect-gateway feature and James was so kind to implement that feature. we use it but have to face another problem. our windows 2000/xp road-warrior clinets are not so "road warrior". this means that the clinets has a DSL connection over which we use openvpn's vitual interface, and they always at the same place, but may get a new ip, but these machines always up. but unfortunately our ISP periodicaly (after 24 hours) disconnect the connection. and here comes the problems. - we need to reconnect our client to the internet (redial the adsl connection). - after we redial restart the openvpn service. probably you don't understand why we need to restart openvpn service?! because we use the redirect-gateway option in openvpn! and even if we use the ping-restart options that's not enough. since the when we redial we can get a new ip. anyway this may happend even without redial! if the dhcp server gives a new ip for the client than the old route table and the old default gateway no longer valid. what can be the solution? a new feature for openvpn servicve: - a new options -pre-up similar to the up script, but before the openvpn do anything else (which can be any kind of program which run synchronously with the same parameters as up). - and the redirect-gateway's down and up part should have to run when restart (eg. ping-restart) is called. in this case we can dial in this script. our do I misunderstood something? thanks in advance. yours. -- Levente "Si vis pacem para bellum!"