Probleme beim Verbindungsaufbau mit OpenVPN

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware
Author Message
Ephorus
DD-WRT Novice


Joined: 12 Aug 2010
Posts: 9

PostPosted: Sun Feb 26, 2012 0:26    Post subject: Probleme beim Verbindungsaufbau mit OpenVPN Reply with quote
Hallo,
ich versuche gerade mit OpenVPN eine Verbindung zwischen einen Netgear WNDR3700(Client) mit DD-WRT v24-sp2 (12/20/11)
und einer gefreetzten Fritzbox 7390(Server) aufzubauen.
Der WNDR3700 hat die 172.16.30.1 und die FritzBox 192.168.178.1.

Irgendwie komme ich bei den Einstellungen bei DD-WRT nicht weiter. Ich glaube "route 192.168.178.0 255.255.255.0" muss noch unter den Client eingetragen werden. Aber so recht weiß ich nicht wo unter DD-WRT.



*Edit
In der Firewall des Server ist der UDP 1194 freigschaltet und Port Forwarding auch eingerichtet. Im Client unter Server/IP-Name hinter der DynDns Adresse des Servers steht noch der Port 450 für den Fernzugriff, da ich so von außerhalb auf den Router zugreife. Ist das falsch?


Hier noch die Auswertung Syslog aus der FritzBox:
Code:
Feb 25 20:51:43 fritz syslog.info syslogd started: BusyBox v1.19.3
Feb 25 20:51:43 fritz user.notice kernel: klogd started: BusyBox v1.19.3 (2011-11-25 17:19:34 CET)
Feb 25 20:52:06 fritz user.notice openvpn[9681]: OpenVPN 2.2.1 mips-linux [SSL] [LZO2] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Nov 25 2011
Feb 25 20:52:06 fritz user.warn openvpn[9681]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 20:52:06 fritz user.notice openvpn[9681]: Diffie-Hellman initialized with 1024 bit key
Feb 25 20:52:06 fritz user.warn openvpn[9681]: WARNING: file '/tmp/flash/openvpn/box.key' is group or others accessible
Feb 25 20:52:06 fritz user.notice openvpn[9681]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 20:52:06 fritz user.notice openvpn[9681]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 20:52:06 fritz user.notice openvpn[9681]: TUN/TAP device tun0 opened
Feb 25 20:52:06 fritz user.notice openvpn[9681]: TUN/TAP TX queue length set to 100
Feb 25 20:52:06 fritz user.notice openvpn[9681]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Feb 25 20:52:06 fritz user.notice openvpn[9681]: /sbin/ifconfig tun0 192.168.200.1 pointopoint 192.168.200.2 mtu 1500
Feb 25 20:52:06 fritz user.notice openvpn[9681]: /sbin/route add -net 172.16.30.0 netmask 255.255.255.0 gw 192.168.200.2
Feb 25 20:52:06 fritz user.notice openvpn[9681]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 20:52:06 fritz user.notice openvpn[9684]: chroot to '/tmp/openvpn' and cd to '/' succeeded
Feb 25 20:52:06 fritz user.notice openvpn[9684]: GID set to openvpn
Feb 25 20:52:06 fritz user.notice openvpn[9684]: UID set to openvpn
Feb 25 20:52:06 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 20:52:06 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]
Feb 25 20:54:07 fritz user.notice openvpn[9684]: [UNDEF] Inactivity timeout (--ping-restart), restarting
Feb 25 20:54:07 fritz user.notice openvpn[9684]: TCP/UDP: Closing socket
Feb 25 20:54:07 fritz user.notice openvpn[9684]: SIGUSR1[soft,ping-restart] received, process restarting
Feb 25 20:54:07 fritz user.notice openvpn[9684]: Restart pause, 2 second(s)
Feb 25 20:54:09 fritz user.warn openvpn[9684]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 20:54:09 fritz user.notice openvpn[9684]: Re-using SSL/TLS context
Feb 25 20:54:09 fritz user.notice openvpn[9684]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 20:54:09 fritz user.notice openvpn[9684]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 20:54:09 fritz user.notice openvpn[9684]: Preserving previous TUN/TAP instance: tun0
Feb 25 20:54:09 fritz user.notice openvpn[9684]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 20:54:09 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 20:54:09 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]
Feb 25 20:56:10 fritz user.notice openvpn[9684]: [UNDEF] Inactivity timeout (--ping-restart), restarting
Feb 25 20:56:10 fritz user.notice openvpn[9684]: TCP/UDP: Closing socket
Feb 25 20:56:10 fritz user.notice openvpn[9684]: SIGUSR1[soft,ping-restart] received, process restarting
Feb 25 20:56:10 fritz user.notice openvpn[9684]: Restart pause, 2 second(s)
Feb 25 20:56:12 fritz user.warn openvpn[9684]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 20:56:12 fritz user.notice openvpn[9684]: Re-using SSL/TLS context
Feb 25 20:56:12 fritz user.notice openvpn[9684]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 20:56:12 fritz user.notice openvpn[9684]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 20:56:12 fritz user.notice openvpn[9684]: Preserving previous TUN/TAP instance: tun0
Feb 25 20:56:12 fritz user.notice openvpn[9684]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 20:56:12 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 20:56:12 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]
Feb 25 20:58:12 fritz user.notice openvpn[9684]: [UNDEF] Inactivity timeout (--ping-restart), restarting
Feb 25 20:58:12 fritz user.notice openvpn[9684]: TCP/UDP: Closing socket
Feb 25 20:58:12 fritz user.notice openvpn[9684]: SIGUSR1[soft,ping-restart] received, process restarting
Feb 25 20:58:12 fritz user.notice openvpn[9684]: Restart pause, 2 second(s)
Feb 25 20:58:14 fritz user.warn openvpn[9684]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 20:58:14 fritz user.notice openvpn[9684]: Re-using SSL/TLS context
Feb 25 20:58:14 fritz user.notice openvpn[9684]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 20:58:14 fritz user.notice openvpn[9684]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 20:58:14 fritz user.notice openvpn[9684]: Preserving previous TUN/TAP instance: tun0
Feb 25 20:58:14 fritz user.notice openvpn[9684]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 20:58:14 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 20:58:14 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]
Feb 25 21:00:15 fritz user.notice openvpn[9684]: [UNDEF] Inactivity timeout (--ping-restart), restarting
Feb 25 21:00:15 fritz user.notice openvpn[9684]: TCP/UDP: Closing socket
Feb 25 21:00:15 fritz user.notice openvpn[9684]: SIGUSR1[soft,ping-restart] received, process restarting
Feb 25 21:00:15 fritz user.notice openvpn[9684]: Restart pause, 2 second(s)
Feb 25 21:00:17 fritz user.warn openvpn[9684]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 21:00:17 fritz user.notice openvpn[9684]: Re-using SSL/TLS context
Feb 25 21:00:17 fritz user.notice openvpn[9684]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 21:00:17 fritz user.notice openvpn[9684]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 21:00:17 fritz user.notice openvpn[9684]: Preserving previous TUN/TAP instance: tun0
Feb 25 21:00:17 fritz user.notice openvpn[9684]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 21:00:17 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 21:00:17 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]
Feb 25 21:02:17 fritz user.notice openvpn[9684]: [UNDEF] Inactivity timeout (--ping-restart), restarting
Feb 25 21:02:17 fritz user.notice openvpn[9684]: TCP/UDP: Closing socket
Feb 25 21:02:17 fritz user.notice openvpn[9684]: SIGUSR1[soft,ping-restart] received, process restarting
Feb 25 21:02:17 fritz user.notice openvpn[9684]: Restart pause, 2 second(s)
Feb 25 21:02:19 fritz user.warn openvpn[9684]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 21:02:19 fritz user.notice openvpn[9684]: Re-using SSL/TLS context
Feb 25 21:02:19 fritz user.notice openvpn[9684]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 21:02:19 fritz user.notice openvpn[9684]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 21:02:19 fritz user.notice openvpn[9684]: Preserving previous TUN/TAP instance: tun0
Feb 25 21:02:19 fritz user.notice openvpn[9684]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 21:02:19 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 21:02:19 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]
Feb 25 21:03:35 fritz user.info hostapd: ath1: STA 00:13:e8:7d:e4:0b WPA: group key handshake completed (RSN)
Feb 25 21:04:19 fritz user.notice openvpn[9684]: [UNDEF] Inactivity timeout (--ping-restart), restarting
Feb 25 21:04:19 fritz user.notice openvpn[9684]: TCP/UDP: Closing socket
Feb 25 21:04:19 fritz user.notice openvpn[9684]: SIGUSR1[soft,ping-restart] received, process restarting
Feb 25 21:04:19 fritz user.notice openvpn[9684]: Restart pause, 2 second(s)
Feb 25 21:04:21 fritz user.warn openvpn[9684]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Feb 25 21:04:21 fritz user.notice openvpn[9684]: Re-using SSL/TLS context
Feb 25 21:04:21 fritz user.notice openvpn[9684]: Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 25 21:04:21 fritz user.notice openvpn[9684]: Socket Buffers: R=[135168->131072] S=[135168->131072]
Feb 25 21:04:21 fritz user.notice openvpn[9684]: Preserving previous TUN/TAP instance: tun0
Feb 25 21:04:21 fritz user.notice openvpn[9684]: Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Feb 25 21:04:21 fritz user.notice openvpn[9684]: UDPv4 link local (bound): [undef]
Feb 25 21:04:21 fritz user.notice openvpn[9684]: UDPv4 link remote: [undef]


Und hier noch die Einstellungen:






Grüße
Ephorus[/b]
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sun Feb 26, 2012 10:55    Post subject: Reply with quote
gib mal den inhalt der conf files.
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Ephorus
DD-WRT Novice


Joined: 12 Aug 2010
Posts: 9

PostPosted: Sun Feb 26, 2012 15:08    Post subject: Reply with quote
Sorry, kannst du mir das etwas näher erläutern?Embarassed



Grüße
Ephorus
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Tue Feb 28, 2012 9:42    Post subject: Reply with quote
die conf files die gespeichert sind. bei ddwrt
Code:
cat /tmp/openvpncl/openvpn.conf

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum