openvpn сервис работает, ошибок в логе openvpn нет. Клиент пытается подключиться:
# tcpdump -i eth1 'port 1194'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
22:52:48.519558 IP 10.200.255.2.60479 > x.x.x.x.openvpn: Flags [S], seq 1595066358, win 8192, options [mss 1464,nop,wscale 8,nop,nop,sackOK], length 0
22:52:48.520768 IP x.x.x.x.openvpn > 10.200.255.2.60479: Flags [R.], seq 0, ack 1595066359, win 0, length 0
22:52:49.019462 IP 10.200.255.2.60479 > x.x.x.x.openvpn: Flags [S], seq 1595066358, win 8192, options [mss 1464,nop,wscale 8,nop,nop,sackOK], length 0
22:52:49.021623 IP x.x.x.x.openvpn > 10.200.255.2.60479: Flags [R.], seq 0, ack 1, win 0, length 0
22:52:49.520633 IP 10.200.255.2.60479 > x.x.x.x.openvpn: Flags [S], seq 1595066358, win 8192, options [mss 1464,nop,nop,sackOK], length 0
22:52:49.521220 IP x.x.x.x.openvpn > 10.200.255.2.60479: Flags [R.], seq 0, ack 1, win 0, length 0
Wed Sep 18 12:40:06 2013 MANAGEMENT: >STATE:1379493606,TCP_CONNECT,,,
Wed Sep 18 12:40:07 2013 TCP: connect to [AF_INET]x.x.x.x:1194 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)
Wed Sep 18 12:40:12 2013 MANAGEMENT: >STATE:1379493612,TCP_CONNECT,,,
Wed Sep 18 12:40:13 2013 TCP: connect to [AF_INET]x.x.x.x:1194 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)
в iptables для vpn прописано:
-A INPUT -s y.y.y.y -d 10.200.255.2/32 -i eth1 -p tcp -m tcp --dport 1194 -j ACCEPT
-A INPUT -s y.y.y.y -d 10.200.255.2/32 -i eth1 -p udp -m udp --dport 1194 -j ACCEPT
где косяк, что забыл?