It is currently 19.11.2017 16:11


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: VPN connected, aber bekommt keine INet verbindung
PostPosted: 18.04.2013 19:38 
DES
DES

Joined: 14.04.2013 18:25
Posts: 1
Hallo,

ich brauch echt Hilfe, da ich entweder mittlerweile zu blind bin, oder einfach nicht helle genug, einen Fehler zu finden........
Port und Freigaben sind im Router erstellt und per Porttest gecheckt.


server.conf:
Code:
port 1194
proto udp
mode server
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key  # This file should be kept secret
dh keys/dh2048.pem
server 10.45.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
;push "route 91.121.108.63 255.255.255.0"
push "dhcp-option DNS 8.8.4.4"
push "redirect-gateway"
client-to-client
keepalive 10 120
tls-auth keys/ta.key 0 # This file is secret
cipher AES-128-CBC  # Triple-DES
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3



client.conf
Code:
client
port 1194
;dev tap
dev tun
;dev-node tun0
;proto tcp
proto udp
remote 91.121.108.63 1194
;remote my-server-2 1194
;remote-random
resolv-retry infinite
redirect-gateway
pull
nobind
;user nobody
;group nobody
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca E:\\keys\\ca.crt
cert E:\\keys\\client1.crt
key E:\\keys\\client1.key
ns-cert-type server
tls-auth E:\\keys\\ta.key 1
cipher AES-128-CBC
comp-lzo
verb 3
;mute 20

;route-method exe
;route-delay 2


log:
Code:
Thu Apr 18 21:34:36 2013 OpenVPN 2.3.1 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Mar 28 2013
Enter Management Password:
Thu Apr 18 21:34:36 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Thu Apr 18 21:34:36 2013 Need hold release from management interface, waiting...
Thu Apr 18 21:34:36 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Thu Apr 18 21:34:36 2013 MANAGEMENT: CMD 'state on'
Thu Apr 18 21:34:36 2013 MANAGEMENT: CMD 'log all on'
Thu Apr 18 21:34:36 2013 MANAGEMENT: CMD 'hold off'
Thu Apr 18 21:34:36 2013 MANAGEMENT: CMD 'hold release'
Thu Apr 18 21:34:36 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Apr 18 21:34:37 2013 Control Channel Authentication: using 'E:\keys\ta.key' as a OpenVPN static key file
Thu Apr 18 21:34:37 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Apr 18 21:34:37 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Apr 18 21:34:37 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Apr 18 21:34:37 2013 UDPv4 link local: [undef]
Thu Apr 18 21:34:37 2013 UDPv4 link remote: [AF_INET]91.121.108.63:1194
Thu Apr 18 21:34:37 2013 MANAGEMENT: >STATE:1366313677,WAIT,,,
Thu Apr 18 21:34:37 2013 MANAGEMENT: >STATE:1366313677,AUTH,,,
Thu Apr 18 21:34:37 2013 TLS: Initial packet from [AF_INET]91.121.108.63:1194, sid=56f68b69 74ba2894
Thu Apr 18 21:34:37 2013 VERIFY OK: depth=1, C=CA, ST=state, L=state, O=state, CN=state CA, emailAddress=state@hush.com
Thu Apr 18 21:34:37 2013 VERIFY OK: nsCertType=SERVER
Thu Apr 18 21:34:37 2013 VERIFY OK: depth=0, C=CA, ST=state, L=state, O=state, CN=server, emailAddress=state@hush.com
Thu Apr 18 21:34:38 2013 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Apr 18 21:34:38 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Apr 18 21:34:38 2013 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Apr 18 21:34:38 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Apr 18 21:34:38 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Thu Apr 18 21:34:38 2013 [server] Peer Connection Initiated with [AF_INET]91.121.108.63:1194
Thu Apr 18 21:34:39 2013 MANAGEMENT: >STATE:1366313679,GET_CONFIG,,,
Thu Apr 18 21:34:40 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Thu Apr 18 21:34:40 2013 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 8.8.4.4,redirect-gateway,route 10.45.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.45.0.6 10.45.0.5'
Thu Apr 18 21:34:40 2013 OPTIONS IMPORT: timers and/or timeouts modified
Thu Apr 18 21:34:40 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Apr 18 21:34:40 2013 OPTIONS IMPORT: route options modified
Thu Apr 18 21:34:40 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Apr 18 21:34:40 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Apr 18 21:34:40 2013 MANAGEMENT: >STATE:1366313680,ASSIGN_IP,,10.45.0.6,
Thu Apr 18 21:34:40 2013 open_tun, tt->ipv6=0
Thu Apr 18 21:34:40 2013 TAP-WIN32 device [tun0] opened: \\.\Global\{358665AA-02DD-4C05-812C-920A16258889}.tap
Thu Apr 18 21:34:40 2013 TAP-Windows Driver Version 9.9
Thu Apr 18 21:34:40 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.45.0.6/255.255.255.252 on interface {358665AA-02DD-4C05-812C-920A16258889} [DHCP-serv: 10.45.0.5, lease-time: 31536000]
Thu Apr 18 21:34:40 2013 Successful ARP Flush on interface [27] {358665AA-02DD-4C05-812C-920A16258889}
Thu Apr 18 21:34:45 2013 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Thu Apr 18 21:34:45 2013 C:\Windows\system32\route.exe ADD 91.121.108.63 MASK 255.255.255.255 192.168.0.1
Thu Apr 18 21:34:45 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Thu Apr 18 21:34:45 2013 Route addition via IPAPI succeeded [adaptive]
Thu Apr 18 21:34:45 2013 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 192.168.0.1
Thu Apr 18 21:34:45 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Apr 18 21:34:45 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 10.45.0.5
Thu Apr 18 21:34:45 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Apr 18 21:34:45 2013 Route addition via IPAPI succeeded [adaptive]
Thu Apr 18 21:34:45 2013 MANAGEMENT: >STATE:1366313685,ADD_ROUTES,,,
Thu Apr 18 21:34:45 2013 C:\Windows\system32\route.exe ADD 10.45.0.0 MASK 255.255.255.0 10.45.0.5
Thu Apr 18 21:34:45 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Apr 18 21:34:45 2013 Route addition via IPAPI succeeded [adaptive]
Thu Apr 18 21:34:45 2013 Initialization Sequence Completed
Thu Apr 18 21:34:45 2013 MANAGEMENT: >STATE:1366313685,CONNECTED,SUCCESS,10.45.0.6,91.121.108.63
Thu Apr 18 21:35:25 2013 C:\Windows\system32\route.exe DELETE 10.45.0.0 MASK 255.255.255.0 10.45.0.5
Thu Apr 18 21:35:25 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Apr 18 21:35:25 2013 C:\Windows\system32\route.exe DELETE 91.121.108.63 MASK 255.255.255.255 192.168.0.1
Thu Apr 18 21:35:25 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Apr 18 21:35:25 2013 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 10.45.0.5
Thu Apr 18 21:35:25 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Apr 18 21:35:25 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 192.168.0.1
Thu Apr 18 21:35:25 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Thu Apr 18 21:35:25 2013 Route addition via IPAPI succeeded [adaptive]
Thu Apr 18 21:35:25 2013 Closing TUN/TAP interface
Thu Apr 18 21:35:25 2013 SIGTERM[hard,] received, process exiting
Thu Apr 18 21:35:25 2013 MANAGEMENT: >STATE:1366313725,EXITING,SIGTERM,,



Route Print:
Code:
===========================================================================
Schnittstellenliste
 27...00 ff 35 86 65 aa ......TAP-Windows Adapter V9
 23...00 26 37 bd 39 42 ......PdaNet Broadband Adapter
 14...1c 6f 65 b8 92 bb ......Realtek PCIe GBE Family Controller
  1...........................Software Loopback Interface 1
 26...00 00 00 00 00 00 00 e0 Microsoft-ISATAP-Adapter #2
 28...00 00 00 00 00 00 00 e0 Microsoft-Teredo-Tunneling-Adapter
 30...00 00 00 00 00 00 00 e0 Microsoft-ISATAP-Adapter #3
===========================================================================

IPv4-Routentabelle
===========================================================================
Aktive Routen:
     Netzwerkziel    Netzwerkmaske          Gateway    Schnittstelle Metrik
          0.0.0.0          0.0.0.0        10.45.0.5        10.45.0.6     30
        10.45.0.0    255.255.255.0        10.45.0.5        10.45.0.6     30
        10.45.0.4  255.255.255.252   Auf Verbindung         10.45.0.6    286
        10.45.0.6  255.255.255.255   Auf Verbindung         10.45.0.6    286
        10.45.0.7  255.255.255.255   Auf Verbindung         10.45.0.6    286
    91.121.108.63  255.255.255.255      192.168.0.1      192.168.0.2     20
        127.0.0.0        255.0.0.0   Auf Verbindung         127.0.0.1    306
        127.0.0.1  255.255.255.255   Auf Verbindung         127.0.0.1    306
  127.255.255.255  255.255.255.255   Auf Verbindung         127.0.0.1    306
      192.168.0.0    255.255.255.0   Auf Verbindung       192.168.0.2    276
      192.168.0.2  255.255.255.255   Auf Verbindung       192.168.0.2    276
    192.168.0.255  255.255.255.255   Auf Verbindung       192.168.0.2    276
        224.0.0.0        240.0.0.0   Auf Verbindung         127.0.0.1    306
        224.0.0.0        240.0.0.0   Auf Verbindung         10.45.0.6    286
        224.0.0.0        240.0.0.0   Auf Verbindung       192.168.0.2    276
  255.255.255.255  255.255.255.255   Auf Verbindung         127.0.0.1    306
  255.255.255.255  255.255.255.255   Auf Verbindung         10.45.0.6    286
  255.255.255.255  255.255.255.255   Auf Verbindung       192.168.0.2    276
===========================================================================
Ständige Routen:
  Keine

IPv6-Routentabelle
===========================================================================
Aktive Routen:
 If Metrik Netzwerkziel             Gateway
 28     58 ::/0                     Auf Verbindung
  1    306 ::1/128                  Auf Verbindung
 28     58 2001::/32                Auf Verbindung
 28    306 2001:0:4137:9e76:2cdc:2339:f5d2:fff9/128
                                    Auf Verbindung
 27    286 fe80::/64                Auf Verbindung
 14    276 fe80::/64                Auf Verbindung
 28    306 fe80::/64                Auf Verbindung
 28    306 fe80::2cdc:2339:f5d2:fff9/128
                                    Auf Verbindung
 27    286 fe80::35de:159d:3aff:8282/128
                                    Auf Verbindung
 14    276 fe80::84a8:7fa1:906e:68a8/128
                                    Auf Verbindung
  1    306 ff00::/8                 Auf Verbindung
 27    286 ff00::/8                 Auf Verbindung
 14    276 ff00::/8                 Auf Verbindung
 28    306 ff00::/8                 Auf Verbindung
===========================================================================
Ständige Routen:
  Keine


1000Dank im Vorraus


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderator: Moderators

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 8 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net