Networking Forums

Networking Forums > Computer Networking > Linux Networking > openvpn - problemy z polaczeniem

Reply
Thread Tools Display Modes

openvpn - problemy z polaczeniem

 
 
Zbyszek
Guest
Posts: n/a

 
      09-21-2005, 01:13 PM
Zainstalowalem openvpn on fedora 4. Instalacja przebiegla bez widocznych
bledow wiec zakladam ze jest ok. (bazowlem na how-to z ichniejszej strony).
Wygenerowalem certyfikaty dla servera i klienta - ok, bez problemow.
Server startuje w ifconfigu widze karte tun0-00 z przypisanym adresem ip
- tez, ok
natomiast za zadne skarby nie moge sie polaczyc z klientem Windows XP.

Prosba o podpowiedz - co robie zle?

Pliki konfiguracje

1. server

port 1194
proto udp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
max-clients 10
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 6

2. klient

client
dev tun
dev-node TAP
proto udp
remote 11.11.11.11 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Progra~1\\OpenVPN\\config\\ca.crt"
cert "C:\\Progra~1\\OpenVPN\\config\\client1pass.cr t"
key "C:\\Progra~1\\OpenVPN\\config\\client1pass.ke y"
verb 9

Logi:

Koncowka tego co mi wypisuje serwer(w razie potrzeby mam tego wiecej ale
na razie nie chce zbytnio zasmiecac.):

Wed Sep 21 13:10:48 2005 us=892726 OpenVPN 2.0.2 i686-pc-linux [SSL]
[LZO] [EPOLL] built on Sep 19 2005
Wed Sep 21 13:10:48 2005 us=893153 Restart pause, 2 second(s)
Wed Sep 21 13:10:50 2005 us=968346 Diffie-Hellman initialized with 1024
bit key
Wed Sep 21 13:10:50 2005 us=974467 TLS-Auth MTU parms [ L:1541 D:138
EF:38 EB:0 ET:0 EL:0 ]
Wed Sep 21 13:10:50 2005 us=983398 TUN/TAP device tun0 opened
Wed Sep 21 13:10:50 2005 us=983668 TUN/TAP TX queue length set to 100
Wed Sep 21 13:10:50 2005 us=983888 /sbin/ifconfig tun0 10.8.0.1
pointopoint 10.8.0.2 mtu 1500 Wed Sep 21 13:10:51 2005 us=120495
/sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Wed Sep 21 13:10:51 2005 us=135691 Data Channel MTU parms [ L:1541
D:1450 EF:41 EB:4 ET:0 EL:0 ]
Wed Sep 21 13:10:51 2005 us=136058 Socket Buffers: R=[110592->131072]
S=[110592->131072]
Wed Sep 21 13:10:51 2005 us=136246 UDPv4 link local (bound):
[undef]:1194 Wed Sep 21 13:10:51 2005 us=136380 UDPv4 link remote: [undef]
Wed Sep 21 13:10:51 2005 us=136557 MULTI: multi_init called, r=256 v=256
Wed Sep 21 13:10:51 2005 us=136818 IFCONFIG POOL: base=10.8.0.4 size=62
Wed Sep 21 13:10:51 2005 us=137059 IFCONFIG POOL LIST Wed Sep 21
13:10:51 2005 us=137264 Initialization Sequence Completed

2.klient
Koncowka tego co mi krzyczy klient na XP:

Wed Sep 21 12:45:42 2005 us=150569 OpenVPN 2.0.2 Win32-MinGW [SSL] [LZO]
built on Aug 25 2005
Wed Sep 21 12:45:42 2005 us=151076 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.
Wed Sep 21 12:45:42 2005 us=151116 WARNING: No server certificate
verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Wed Sep 21 12:45:42 2005 us=182484 WE_INIT maxevents=4 flags=0x00000002
Wed Sep 21 12:45:42 2005 us=182518 WE_INIT maxevents=4 capacity=8
Wed Sep 21 12:45:42 2005 us=287948 Cannot load certificate file
C:\Progra~1\OpenVPN\config\client1pass.crt: error:0906D06C:PEM
routines:PEM_read_bio:no start line: error:140AD009:SSL
routines:SSL_CTX_use_certificate_file:PEM lib
Wed Sep 21 12:45:42 2005 us=287998 Exiting
Wed Sep 21 12:45:42 2005 us=288024 Closing Win32 semaphore 'openvpn_netcmd'
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN tun adapter Geoff Lane Linux Networking 5 07-18-2008 02:27 PM
Bridging and OpenVPN André Hänsel Linux Networking 1 06-14-2007 08:09 PM
openvpn does not forward Oliver Joa Linux Networking 3 06-08-2007 03:18 PM
Problem with OpenVPN John Oliver Linux Networking 4 10-13-2006 08:00 PM
OpenVPN troubles Joachim Ziebs Linux Networking 3 11-02-2005 08:12 AM



1 2 3 4 5 6 7 8 9 10 11