dextha
Goto Top

OpenVPN-Client automatische Authentifizierung

Hallo,

wir verwenden OpenVPN mit "auth-user-pass".
Kennt Ihr eine Möglichkeit, dass man die Anmeldung auf einem Windows-Rechner automatisiert durchführt?

LG. Dextha

Content-Key: 95953

Url: https://administrator.de/contentid/95953

Ausgedruckt am: 29.03.2024 um 04:03 Uhr

Mitglied: Janni
Janni 03.09.2008 um 09:47:40 Uhr
Goto Top
siehe install.txt:


Using OpenVPN GUI

When OpenVPN GUI is started your config folder (C:\Program Files\OpenVPN\config)
will be scanned for .ovpn files, and an icon will be displayed in the taskbar's
status area.

If you do not have any openvpn connection running, the config dir will be
re-scanned for new config files every time you open the OpenVPN GUI menu by
right-clicking the icon.

When you choose to connect to a site OpenVPN GUI will launch openvpn with
the specified config file. If you use a passphrase protected key you will be
prompted for the passphrase.

If you want OpenVPN GUI to start a connection automatically when it's started,
you can use the --connect cmd-line option. You have to include the extention
for the config file. Example:

openvpn-gui --connect office.ovpn
Mitglied: Dextha
Dextha 03.09.2008 um 11:12:54 Uhr
Goto Top
Danke für die Info!

Mein größeres Problem ist es jedoch, dass dieser User kein User/Passwort eingeben brauchen soll... DAS sollte auch automatisiert gehn...
Mitglied: Janni
Janni 03.09.2008 um 11:24:51 Uhr
Goto Top
Du kannst doch Zertifikate ohne Passwort erstellen ....
Mitglied: Dextha
Dextha 03.09.2008 um 11:27:05 Uhr
Goto Top
Die Passwortabfrage ja global am VPN-Server eingestellt (oder?) und die anderen User sollen sich weiterhin mit User/Passwort anmelden.
Mitglied: Janni
Janni 03.09.2008 um 11:35:57 Uhr
Goto Top
Wir benutzen die OpenVPN Gui für Windows (openvpn.se) und da kommt die Passwort Abfrage für das Zertifikat beim Zugriff darauf, also vor dem Zugriff auf den Server. Wenn Du den Zugriff mit "nur" Usernamen und Passwort erlaubst ist das eine andere Authentifizierungsmethode. Probiere es doch einfach einmal aus.
Mitglied: Dextha
Dextha 03.09.2008 um 16:44:38 Uhr
Goto Top
ja, bei uns wird auch im Zuge der Zertifikatsprüfung vorher User/Passwort abgefragt. Das soll grundsätzlich aus so bleiben. Jetzt möchte ich jedoch beim konsolen-aufruf User und Passwort bereits mitgeben damit ich den Verbindungsaufbau ohne zutun des Users machen kann...