Hallo Leute!
Der Verbindungsaufbau zur FB klappt soweit. Jedoch habe ich keinen Zugriff auf das interne Heimnetzwerk noch wird das Internet über VPN geleitet!
Welche OpenVPN Einstellungen sind bei mir nicht korrekt?
Vielen Dank im Voraus!
------
Ich habe folgende Einstellungen auf meiner Fritz!Box 7240 hinterlegt:
Ich habe folgende Einstellungen auf meinem Windows 7 (64bit) Rechner hinterlegt:
Logdatei des OpenVPN Clients zeigt:
Der Verbindungsaufbau zur FB klappt soweit. Jedoch habe ich keinen Zugriff auf das interne Heimnetzwerk noch wird das Internet über VPN geleitet!
Welche OpenVPN Einstellungen sind bei mir nicht korrekt?
Vielen Dank im Voraus!
------
Ich habe folgende Einstellungen auf meiner Fritz!Box 7240 hinterlegt:
Code:
proto udp
dev tap0
ca /tmp/flash/openvpn/ca.crt
cert /tmp/flash/openvpn/box.crt
key /tmp/flash/openvpn/box.key
dh /tmp/flash/openvpn/dh.pem
tls-server
tls-auth /tmp/flash/openvpn/static.key 0
port 1194
push "redirect-gateway"
mode server
ifconfig-pool 192.168.200.20 192.168.200.25
push "route 192.168.200.0 255.255.255.0"
route 192.168.200.0 255.255.255.0
ifconfig 192.168.200.1 255.255.255.0
push "route-gateway 192.168.200.1"
push "route 192.168.178.0 255.255.255.0"
max-clients 1
client-to-client
tun-mtu 1500
mssfix
verb 3
daemon
cipher AES-128-CBC
comp-lzo
keepalive 10 120
chroot /tmp/openvpn
user openvpn
group openvpn
persist-tun
persist-key
Ich habe folgende Einstellungen auf meinem Windows 7 (64bit) Rechner hinterlegt:
Code:
tls-client
pull
redirect-gateway def1
dev tap0
proto udp
remote myDynDNS 1194
resolv-retry infinite
nobind
persist-tun
persist-key
ca keys/ca.crt
cert keys/client_work.crt
key keys/client_work.key
ns-cert-type server
tls-auth keys/static.key 1
cipher AES-128-CBC
comp-lzo
verb 3
Logdatei des OpenVPN Clients zeigt:
Code:
Mon Apr 04 17:52:15 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 8 2010
Mon Apr 04 17:52:15 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Apr 04 17:52:15 2011 Control Channel Authentication: using 'keys/static.key' as a OpenVPN static key file
Mon Apr 04 17:52:15 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Apr 04 17:52:15 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Apr 04 17:52:15 2011 LZO compression initialized
Mon Apr 04 17:52:15 2011 Control Channel MTU parms [ L:1590 D:166 EF:66 EB:0 ET:0 EL:0 ]
Mon Apr 04 17:52:15 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Apr 04 17:52:15 2011 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:135 ET:32 EL:0 AF:3/1 ]
Mon Apr 04 17:52:15 2011 Local Options hash (VER=V4): 'a7133b47'
Mon Apr 04 17:52:15 2011 Expected Remote Options hash (VER=V4): 'c5677ab3'
Mon Apr 04 17:52:15 2011 UDPv4 link local: [undef]
Mon Apr 04 17:52:15 2011 UDPv4 link remote: xx.xx.xx.xx:1194
Mon Apr 04 17:52:15 2011 TLS: Initial packet from xx.xx.xx.xx:1194, sid=2be7818f fe553a46
Mon Apr 04 17:52:16 2011 VERIFY OK: depth=1, /C=country/ST=zip/L=city/O=org/CN=org_CA/[email protected]
Mon Apr 04 17:52:16 2011 VERIFY OK: nsCertType=SERVER
Mon Apr 04 17:52:16 2011 VERIFY OK: depth=0, /C=country/ST=zip/L=city/O=org/CN=server/[email protected]
Mon Apr 04 17:52:16 2011 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Mon Apr 04 17:52:16 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Apr 04 17:52:16 2011 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Mon Apr 04 17:52:16 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Apr 04 17:52:16 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Mon Apr 04 17:52:16 2011 [server] Peer Connection Initiated with xx.xx.xx.xx:1194
Mon Apr 04 17:52:18 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Mon Apr 04 17:52:18 2011 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,route 192.168.200.0 255.255.255.0,route-gateway 192.168.200.1,route 192.168.178.0 255.255.255.0,ping 10,ping-restart 120,ifconfig 192.168.200.20 255.255.255.0'
Mon Apr 04 17:52:18 2011 OPTIONS IMPORT: timers and/or timeouts modified
Mon Apr 04 17:52:18 2011 OPTIONS IMPORT: --ifconfig/up options modified
Mon Apr 04 17:52:18 2011 OPTIONS IMPORT: route options modified
Mon Apr 04 17:52:18 2011 OPTIONS IMPORT: route-related options modified
Mon Apr 04 17:52:18 2011 ROUTE default_gateway=10.42.1.254
Mon Apr 04 17:52:18 2011 TAP-WIN32 device [VPN Home Network] opened: \\.\Global\{B61A03A0-891E-45CD-8B45-9FE0A1985BA8}.tap
Mon Apr 04 17:52:18 2011 TAP-Win32 Driver Version 9.7
Mon Apr 04 17:52:18 2011 TAP-Win32 MTU=1500
Mon Apr 04 17:52:18 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.200.20/255.255.255.0 on interface {B61A03A0-891E-45CD-8B45-9FE0A1985BA8} [DHCP-serv: 192.168.200.0, lease-time: 31536000]
Mon Apr 04 17:52:18 2011 Successful ARP Flush on interface [17] {B61A03A0-891E-45CD-8B45-9FE0A1985BA8}
Mon Apr 04 17:52:23 2011 TEST ROUTES: 3/3 succeeded len=2 ret=1 a=0 u/d=up
Mon Apr 04 17:52:23 2011 C:\WINDOWS\system32\route.exe ADD xx.xx.xx.xx MASK 255.255.255.255 10.42.1.254
Mon Apr 04 17:52:23 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Mon Apr 04 17:52:23 2011 Route addition via IPAPI succeeded [adaptive]
Mon Apr 04 17:52:23 2011 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 192.168.200.1
Mon Apr 04 17:52:23 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Mon Apr 04 17:52:23 2011 Route addition via IPAPI succeeded [adaptive]
Mon Apr 04 17:52:23 2011 C:\WINDOWS\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 192.168.200.1
Mon Apr 04 17:52:23 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Mon Apr 04 17:52:23 2011 Route addition via IPAPI succeeded [adaptive]
Mon Apr 04 17:52:23 2011 C:\WINDOWS\system32\route.exe ADD 192.168.200.0 MASK 255.255.255.0 192.168.200.1
Mon Apr 04 17:52:23 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Mon Apr 04 17:52:23 2011 Route addition via IPAPI succeeded [adaptive]
Mon Apr 04 17:52:23 2011 C:\WINDOWS\system32\route.exe ADD 192.168.178.0 MASK 255.255.255.0 192.168.200.1
Mon Apr 04 17:52:23 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Mon Apr 04 17:52:23 2011 Route addition via IPAPI succeeded [adaptive]
Mon Apr 04 17:52:23 2011 Initialization Sequence Completed