PDA

Επιστροφή στο Forum : Πρόβλημα με OpenVPN



funkyhead
26-10-09, 22:04
Καλησπέρα,

Προσπαθώ να συνδεθώ με το vpn του πανεπιστημίου πατρών και ενώ συνδέομαι κανονικά και μου λέει assigned ip: 150.140...., η IP μου δεν αλλάζει.

Το log είναι το εξής


Mon Oct 26 20:55:06 2009 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Mon Oct 26 20:55:11 2009 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Mon Oct 26 20:55:11 2009 Control Channel Authentication: using 'UPatras.keys\ta.key' as a OpenVPN static key file
Mon Oct 26 20:55:11 2009 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Oct 26 20:55:11 2009 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Oct 26 20:55:11 2009 LZO compression initialized
Mon Oct 26 20:55:11 2009 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Mon Oct 26 20:55:11 2009 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Mon Oct 26 20:55:11 2009 Local Options hash (VER=V4): '504e774e'
Mon Oct 26 20:55:11 2009 Expected Remote Options hash (VER=V4): '14168603'
Mon Oct 26 20:55:11 2009 UDPv4 link local: [undef]
Mon Oct 26 20:55:11 2009 UDPv4 link remote: 150.140.128.118:1194
Mon Oct 26 20:55:11 2009 TLS: Initial packet from 150.140.128.118:1194, sid=b60988f2 8faa1855
Mon Oct 26 20:55:11 2009 VERIFY OK: depth=1, /C=GR/ST=Achaia/L=Patras/O=University_of_Patras/OU=UPnet/CN=upca.upatras.gr/emailAddress=noc@upatras.gr
Mon Oct 26 20:55:11 2009 VERIFY OK: nsCertType=SERVER
Mon Oct 26 20:55:11 2009 VERIFY OK: depth=0, /C=GR/ST=Achaia/O=University_of_Patras/OU=UPnet/CN=vpn.upatras.gr/emailAddress=noc@upatras.gr
Mon Oct 26 20:55:12 2009 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Oct 26 20:55:12 2009 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Oct 26 20:55:12 2009 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Oct 26 20:55:12 2009 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Oct 26 20:55:12 2009 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Mon Oct 26 20:55:12 2009 [vpn.upatras.gr] Peer Connection Initiated with 150.140.128.118:1194
Mon Oct 26 20:55:14 2009 SENT CONTROL [vpn.upatras.gr]: 'PUSH_REQUEST' (status=1)
Mon Oct 26 20:55:14 2009 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 150.140.129.30,dhcp-option DNS 150.140.129.130,route 150.140.254.1,ping 10,ping-restart 120,ifconfig 150.140.254.242 150.140.254.241'
Mon Oct 26 20:55:14 2009 OPTIONS IMPORT: timers and/or timeouts modified
Mon Oct 26 20:55:14 2009 OPTIONS IMPORT: --ifconfig/up options modified
Mon Oct 26 20:55:14 2009 OPTIONS IMPORT: route options modified
Mon Oct 26 20:55:14 2009 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon Oct 26 20:55:14 2009 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{62CC12F4-533B-49DF-9BCC-2AC1C025CA24}.tap
Mon Oct 26 20:55:14 2009 TAP-Win32 Driver Version 8.4
Mon Oct 26 20:55:14 2009 TAP-Win32 MTU=1500
Mon Oct 26 20:55:14 2009 Notified TAP-Win32 driver to set a DHCP IP/netmask of 150.140.254.242/255.255.255.252 on interface {62CC12F4-533B-49DF-9BCC-2AC1C025CA24} [DHCP-serv: 150.140.254.241, lease-time: 31536000]
Mon Oct 26 20:55:14 2009 Successful ARP Flush on interface [3] {62CC12F4-533B-49DF-9BCC-2AC1C025CA24}
Mon Oct 26 20:55:16 2009 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Mon Oct 26 20:55:16 2009 Route: Waiting for TUN/TAP interface to come up...
Mon Oct 26 20:55:18 2009 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Mon Oct 26 20:55:18 2009 route ADD 150.140.128.118 MASK 255.255.255.255 192.168.1.1
'route' is not recognized as an internal or external command,
operable program or batch file.
Mon Oct 26 20:55:18 2009 ERROR: Windows route add command failed: system() returned error code 1
Mon Oct 26 20:55:18 2009 route ADD 0.0.0.0 MASK 128.0.0.0 150.140.254.241
'route' is not recognized as an internal or external command,
operable program or batch file.
Mon Oct 26 20:55:18 2009 ERROR: Windows route add command failed: system() returned error code 1
Mon Oct 26 20:55:18 2009 route ADD 128.0.0.0 MASK 128.0.0.0 150.140.254.241
'route' is not recognized as an internal or external command,
operable program or batch file.
Mon Oct 26 20:55:19 2009 ERROR: Windows route add command failed: system() returned error code 1
Mon Oct 26 20:55:19 2009 route ADD 150.140.254.1 MASK 255.255.255.255 150.140.254.241
'route' is not recognized as an internal or external command,
operable program or batch file.
Mon Oct 26 20:55:19 2009 ERROR: Windows route add command failed: system() returned error code 1
Mon Oct 26 20:55:19 2009 Initialization Sequence Completed


Eπιπλέον όταν πατάω ipconfig /all μου βγάζει το εξής:

Ethernet adapter Local Area Connection 4:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V8
Physical Address. . . . . . . . . : 00-FF-62-CC-12-F4
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 150.140.254.242
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
DHCP Server. . . . . . . . . . . .: 150.140.254.241
DNS Servers . . . . . . . . . . . : 150.140.129.30
150.140.129.30
Lease Obtained. . . . . . . . . . : 26 October 2009 19.51.37
Lease Expires . . . . . . . . . . : 26 October 2010 19.51.37

Έχετε κάποια ιδέα γιατί συμβαίνει αυτό;

befreegr
26-10-09, 23:49
Προσπαθώ να συνδεθώ με το vpn του πανεπιστημίου πατρών και ενώ συνδέομαι κανονικά και μου λέει assigned ip: 150.140...., η IP μου δεν αλλάζει.


Δεν πρέπει να αλλάξει η IP σου. Απλά έχει προστεθεί ένα νέο virtual interface, αυτό το TAP που αναφέρει το ipconfig και αυτό είναι που παίρνει το IP του VPN. Έτσι γίνεται. Εκτός και δεν κατάλαβα καλά τι λες.


Eπιπλέον όταν πατάω ipconfig /all μου βγάζει το εξής:

Ethernet adapter Local Area Connection 4:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V8
Physical Address. . . . . . . . . : 00-FF-62-CC-12-F4
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 150.140.254.242
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
DHCP Server. . . . . . . . . . . .: 150.140.254.241
DNS Servers . . . . . . . . . . . : 150.140.129.30
150.140.129.30
Lease Obtained. . . . . . . . . . : 26 October 2009 19.51.37
Lease Expires . . . . . . . . . . : 26 October 2010 19.51.37

Έχετε κάποια ιδέα γιατί συμβαίνει αυτό;

Δεν βλέπω να συμβαίνει κάτι περίεργο. Το μόνο περίεργο είναι το


'route' is not recognized as an internal or external command, operable program or batch file.

Κάτι συμβαίνει και δεν υπάρχει η εντολή route στο path; Η καθόλου στο δίσκο; Αυτό πρέπει να λύσεις, γιατί δεν θα σου δουλέψει αλλιώς.

funkyhead
27-10-09, 00:04
Κάτι συμβαίνει και δεν υπάρχει η εντολή route στο path; Η καθόλου στο δίσκο; Αυτό πρέπει να λύσεις, γιατί δεν θα σου δουλέψει αλλιώς.

Όντως αυτό ήταν το πρόβλημα, έκανα copy το route.exe στο φάκελο bin του openvpn και δούλεψε!

Χίλια ευχαριστώ για τη βοήθεια! :)

befreegr
27-10-09, 00:26
:oneup:

@ ADSLgr.com All rights reserved.