Author Topic: VPN Client Einstellungen  (Read 2749 times)

whoopi4

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
VPN Client Einstellungen
« on: March 04, 2013, 03:48:50 pm »
Hallo zusammen !
Da ich gerade auf einer Messe sitzte, wollte ich mir einen VPN Zugang zur Firma einrichten...
Also Certifikat erstellt und VPN Server nach Anleitung eingerichtet.
Auf meinem Laptop kann ich via Handy meinen Laptop verbinden und bin online.
Dann über OpenVPN mittels der von ZENTYAL erzeugten Konfigdatei eingeloggt.
Auch das funktioniert...

Nur: Der OpenVPN Client gibt mir eine IP-Adresse (192.168.161.2) und von dieser aus kann ich keine Verbindung herstellen.
Mein Heimatnetz hat 192.168.0.xx

Wie stelle ich das ein das ich auch vom Laptop aus mein Heimatnetz (Samba) sehe und Zugriff habe ???

majestyx

  • Moderator
  • Zen Warrior
  • *****
  • Posts: 243
  • Karma: +8/-1
  • Dont feed the Troll !
    • View Profile
    • German FSFE Blog
Re: VPN Client Einstellungen
« Reply #1 on: March 04, 2013, 04:11:33 pm »
Was fürn OS ist den (Open)VPN Client ?? (Laptop)
Hast du mal die Logfiles des OpenVPN (Client-App) gelesen?

Wenn du VPN auf deinen Zentyal Server hast bekommst du (vom Z-Server) ein "Subnet" - Das ist aber OK so. Andere (Netzwerk) Dienste solltest du auch erreichen können. (Wen das auf dem Zentyal so konfiguriert ist) Wenn du "kleinweich" Netzwerk Laufwerke einbinden willst musst du ggf. die DOMAIN von NT mit an geben. Bspw:

winDOMAIN\Benutzername (und Pw für den win "server")

Viel Glück!
Ahoi
Michael (majestyx) pls, applaud if I could help ;)
--
Erst lesen, dann schreiben: http://forum.zentyal.org/index.php/topic,4317.0.html

Zentyal Doku: http://doc.zentyal.org/en/zindex.html (engl.)

whoopi4

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: VPN Client Einstellungen
« Reply #2 on: March 04, 2013, 04:58:29 pm »
Windows 7....

Log File:
Mon Mar 04 16:58:02 2013 OPTIONS IMPORT: timers and/or timeouts modified
Mon Mar 04 16:58:02 2013 OPTIONS IMPORT: --ifconfig/up options modified
Mon Mar 04 16:58:02 2013 OPTIONS IMPORT: route options modified
Mon Mar 04 16:58:02 2013 OPTIONS IMPORT: route-related options modified
Mon Mar 04 16:58:02 2013 ROUTE default_gateway=100.99.87.12
Mon Mar 04 16:58:02 2013 TAP-WIN32 device [LAN-Verbindung 2] opened: \\.\Global\{8456AF97-EC3A-4D0A-B75B-538507C7EB4E}.tap
Mon Mar 04 16:58:02 2013 TAP-Win32 Driver Version 9.8
Mon Mar 04 16:58:02 2013 TAP-Win32 MTU=1500
Mon Mar 04 16:58:02 2013 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.161.2/255.255.255.0 on interface {8456AF97-EC3A-4D0A-B75B-538507C7EB4E} [DHCP-serv: 192.168.161.0, lease-time: 31536000]
Mon Mar 04 16:58:02 2013 NOTE: FlushIpNetTable failed on interface [25] {8456AF97-EC3A-4D0A-B75B-538507C7EB4E} (status=5) : Zugriff verweigert 
Mon Mar 04 16:58:07 2013 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Mon Mar 04 16:58:07 2013 C:\WINDOWS\system32\route.exe ADD 192.168.0.0 MASK 255.255.255.0 192.168.161.1
Mon Mar 04 16:58:07 2013 ROUTE: route addition failed using CreateIpForwardEntry: Ein oder mehrere Argumente sind ungültig.   [status=160 if_index=25]
Mon Mar 04 16:58:07 2013 Route addition via IPAPI failed [adaptive]
Mon Mar 04 16:58:07 2013 Route addition fallback to route.exe
Der angeforderte Vorgang erfordert erh”hte Rechte.
Mon Mar 04 16:58:07 2013 ERROR: Windows route add command failed [adaptive]: returned error code 1
Mon Mar 04 16:58:07 2013 Initialization Sequence Completed

majestyx

  • Moderator
  • Zen Warrior
  • *****
  • Posts: 243
  • Karma: +8/-1
  • Dont feed the Troll !
    • View Profile
    • German FSFE Blog
Re: VPN Client Einstellungen
« Reply #3 on: March 04, 2013, 05:52:19 pm »
Quote
Mon Mar 04 16:58:07 2013 Route addition fallback to route.exe
Der angeforderte Vorgang erfordert erh”hte Rechte.
Mon Mar 04 16:58:07 2013 ERROR: Windows route add command failed [adaptive]: returned error code 1
Mon Mar 04 16:58:07 2013 Initialization Sequence Completed

win$ openvpn setup

openvpn desktop icon mit dem kontextmenü anklicken -> ausführen als ADMIN
openvpn icon macht sich klein im win systray
connect openvpn (as admin)

win braucht admin rechte um das tun/tab device "hoch zu fahren"

logfiles unkommentiert posten....
WTF!

Ahoi
Michael (majestyx) pls, applaud if I could help ;)
--
Erst lesen, dann schreiben: http://forum.zentyal.org/index.php/topic,4317.0.html

Zentyal Doku: http://doc.zentyal.org/en/zindex.html (engl.)

majestyx

  • Moderator
  • Zen Warrior
  • *****
  • Posts: 243
  • Karma: +8/-1
  • Dont feed the Troll !
    • View Profile
    • German FSFE Blog
Re: VPN Client Einstellungen
« Reply #4 on: March 04, 2013, 05:53:52 pm »
btw: das default gateway: 100.x.x.x - is ne IP adresse die auch übers inet erreichbar is?

eigentlich kann da auch "myserver.zentyal.me" stehn ?!

Ahoi
Michael (majestyx) pls, applaud if I could help ;)
--
Erst lesen, dann schreiben: http://forum.zentyal.org/index.php/topic,4317.0.html

Zentyal Doku: http://doc.zentyal.org/en/zindex.html (engl.)