Hi all

Próbálom beüzemelni, de valahogy nem jön össze a kapcsolat.

Szerver log:
mosaic:/var/log# cat syslog
May 26 19:32:15 mosaic ovpn-server[32540]: MULTI: multi_create_instance
called
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 Re-using
SSL/TLS context
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 LZO
compression initialized
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 Control
Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 Data
Channel MTU parms [ L:1542 D:1450 EF:42 EB:23 ET:0 EL:0 AF:3/1 ]
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 Local
Options hash (VER=V4): '530fdded'
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 Expected
Remote Options hash (VER=V4): '41690919'
May 26 19:32:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 TLS:
Initial packet from xxx.xxxx.xxxx.xx:1194, sid=3852df5c 8ded274a
May 26 19:32:15 mosaic ovpn-server[32540]: read UDPv4 [ECONNREFUSED]:
Connection refused (code=111)
May 26 19:32:15 mosaic last message repeated 2 times
May 26 19:32:17 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 TLS: new
session incoming connection from xxx.xxxx.xxxx.xx:1194
May 26 19:32:18 mosaic ovpn-server[32540]: read UDPv4 [ECONNREFUSED]:
Connection refused (code=111)
May 26 19:32:19 mosaic last message repeated 10 times
May 26 19:32:20 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 TLS: new
session incoming connection from xxx.xxxx.xxxx.xx:1194
May 26 19:32:23 mosaic ovpn-server[32540]: read UDPv4 [ECONNREFUSED]:
Connection refused (code=111)
May 26 19:32:27 mosaic last message repeated 19 times
May 26 19:32:27 mosaic ovpn-server[32540]: NOTE: --mute triggered...
May 26 19:33:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 180
variation(s) on previous 20 message(s) suppressed by --mute
May 26 19:33:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 TLS
Error: TLS key negotiation failed to occur within 60 seconds (check your
network connectivity)
May 26 19:33:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194 TLS
Error: TLS handshake failed
May 26 19:33:15 mosaic ovpn-server[32540]: xxx.xxxx.xxxx.xx:1194
SIGUSR1[soft,tls-error] received, client-instance restarting

Segítsetek nekem a szerver elindításában!

client.ovpn
------------
client
remote xxx.xxx.xxx.xxx # a távoli server IP címe megadhatsz domaint is
port 1194
proto udp
ca C:\\Progra~1\\OpenVPN\\config\\ca.crt
cert C:\\Progra~1\\OpenVPN\\config\\client.crt
key C:\\Progra~1\\OpenVPN\\config\\client.key
dev tun
comp-lzo
verb 3
mute 10
#ns-cert-type server
persist-key
persist-tun

mosaic:/etc/openvpn# cat server.conf

port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key  # This file should be kept secret
dh  /etc/openvpn/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
push "route 192.168.1.0 255.255.255.0"
keepalive 10 120
comp-lzo
;max-clients 100
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
verb 3
mute 20

Debian Sarge+openVPN

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz