AW: [suse-security] PPTP VPN Connection Windows XP client - Linux Server
-----Ursprüngliche Nachricht----- Von: Rasp, Robert [mailto:Rob@killrob.de] Gesendet: Mittwoch, 18. Februar 2004 14:07 An: suse-security@suse.com Betreff: AW: [suse-security] PPTP VPN Connection Windows XP client - Linux Server Wichtigkeit: Niedrig You can use RASDIAL on the windows client to dial a preconfigured VPN connection Also you can use PING to check for the existenz of the connetion. Put all into a batch file and use it to establish connection . . . RASDIAL NameOfVPNconnection Username Password if errorlevel 1 goto DispError ROUTE ADD .... MASK .... .... :Retry PING YourRemoteHostIP 2>NUL >NUL if errorlevel 1 goto Retry NET USE X: \\Servername\ShareName /PERSISTENT:NO . . . kind regards Josef Fuchs vox: +43 316 2800 218 Leykam Medien AG fax: +43 316 2800 69218 Ankerstraße 4 mailto:josef.fuchs@leykam.com A-8054 Graz http://www.leykam.com
Josef.Fuchs@leykam.com schrieb:
-----Ursprüngliche Nachricht----- Von: Rasp, Robert [mailto:Rob@killrob.de] Gesendet: Mittwoch, 18. Februar 2004 14:07 An: suse-security@suse.com Betreff: AW: [suse-security] PPTP VPN Connection Windows XP client - Linux Server Wichtigkeit: Niedrig
You can use RASDIAL on the windows client to dial a preconfigured VPN connection
Also you can use PING to check for the existenz of the connetion.
Put all into a batch file and use it to establish connection
. . . RASDIAL NameOfVPNconnection Username Password if errorlevel 1 goto DispError ROUTE ADD .... MASK .... .... :Retry PING YourRemoteHostIP 2>NUL >NUL if errorlevel 1 goto Retry
NET USE X: \\Servername\ShareName /PERSISTENT:NO
Hit and sunk! :) That was perfectly what I searched for! Thanks a lot! Regards, Stefan
participants (2)
-
Josef.Fuchs@leykam.com
-
Stefan Gofferje