Author Topic: GELÖST - Schritt für Schritt Anleitung für VPN - SOLVED  (Read 2476 times)

gerald_FS

  • Guest
GELÖST - Schritt für Schritt Anleitung für VPN - SOLVED
« on: September 30, 2012, 08:52:10 pm »
Hallo zusammen,

gibt es für einen VG wie mich, eine Schritt für Schritt Anleitung für die Einrichtung des VPN Zuganges auf deutsch...

LG
Gerald
« Last Edit: October 28, 2012, 07:34:33 pm by gerald_FS »

majestyx

  • Moderator
  • Zen Warrior
  • *****
  • Posts: 243
  • Karma: +8/-1
  • Dont feed the Troll !
    • View Profile
    • German FSFE Blog
Re: Schritt für Schritt Anleitung für VPN
« Reply #1 on: October 03, 2012, 12:53:23 am »
VPN Doku - Und, nimm dirn google translator. dann hast du auch mal was zum lachen. nee, im "ernst" - schau dir das o. g. doch mal an und wen du noch fragen hast - immer her damit..

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.)

gerald_FS

  • Guest
Re: Schritt für Schritt Anleitung für VPN
« Reply #2 on: October 13, 2012, 07:42:26 pm »
So habe es nach der Doku eingerichtet, bis auf ein zwei Änderungen (Portänderung auf 1723 & TCP)  habe ich alles so gemacht - aber es läuft nicht...

Hier mal ein Auszug aus der LOG-Datei
Quote
Sat Oct 13 19:34:15 2012 TCP/UDP: Closing socket
Sat Oct 13 19:34:15 2012 Closing TUN/TAP interface
Sat Oct 13 19:34:15 2012 /sbin/ifconfig tap0 0.0.0.0
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
Sat Oct 13 19:34:15 2012 Linux ip addr del failed: external program exited with error status: 255
Sat Oct 13 19:34:15 2012 SIGTERM[hard,] received, process exiting
Sat Oct 13 19:34:15 2012 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Mar 30 2012
Sat Oct 13 19:34:15 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Oct 13 19:34:15 2012 Diffie-Hellman initialized with 1024 bit key
Sat Oct 13 19:34:15 2012 WARNING: file '/var/lib/zentyal/CA/private/vpn-EUMASS.pem' is group or others accessible
Sat Oct 13 19:34:15 2012 TLS-Auth MTU parms [ L:1576 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Oct 13 19:34:15 2012 Socket Buffers: R=[87380->131072] S=[16384->131072]
Sat Oct 13 19:34:15 2012 TUN/TAP device tap0 opened
Sat Oct 13 19:34:15 2012 TUN/TAP TX queue length set to 100
Sat Oct 13 19:34:15 2012 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sat Oct 13 19:34:15 2012 /sbin/ifconfig tap0 192.168.160.1 netmask 255.255.255.0 mtu 1500 broadcast 192.168.160.255
Sat Oct 13 19:34:15 2012 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:135 ET:32 EL:0 AF:3/1 ]
Sat Oct 13 19:34:15 2012 GID set to nogroup
Sat Oct 13 19:34:15 2012 UID set to nobody
Sat Oct 13 19:34:15 2012 Listening for incoming TCP connection on [undef]
Sat Oct 13 19:34:15 2012 TCPv4_SERVER link local (bound): [undef]
Sat Oct 13 19:34:15 2012 TCPv4_SERVER link remote: [undef]
Sat Oct 13 19:34:15 2012 MULTI: multi_init called, r=256 v=256   
Sat Oct 13 19:34:15 2012 IFCONFIG POOL: base=192.168.160.2 size=253, ipv6=0
Sat Oct 13 19:34:15 2012 IFCONFIG POOL LIST
Sat Oct 13 19:34:15 2012 MULTI: TCP INIT maxclients=1024 maxevents=1028
Sat Oct 13 19:34:15 2012 Initialization Sequence Completed
Sat Oct 13 19:30:40 2012 Initialization Sequence Completed

Es scheint als ob der ein Problem hat das Interface zu binden....
Ist aber meine bescheidene Meinung!

?? Frage muss ein Dienst (Netzwerk/Dienste) angelegt werden für openVPN, in der entsprechenden Section ist kein Eintrag vorhanden, für meine Versuche mit pptp wurde dort ein Dienst angelegt. ??

LG
Gerald
« Last Edit: October 13, 2012, 08:11:42 pm by gerald_FS »

gerald_FS

  • Guest
Re: GELÖST - Schritt für Schritt Anleitung für VPN - SOLVED
« Reply #3 on: October 28, 2012, 07:35:41 pm »
Problem war die Firewall, man sollte den Port auch freigeben... sonst kommt nix.....