Temat: Problem z OpenVPN
Witam,
Kilka dni temu bez powodu przestał działać mi OpenVPN.
Thu Oct 01 22:21:02 2020 MANAGEMENT: >STATE:1601583662,WAIT,,,,,,
Thu Oct 01 22:22:02 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Oct 01 22:22:02 2020 TLS Error: TLS handshake failed
Thu Oct 01 22:22:02 2020 SIGUSR1[soft,tls-error] received, process restarting
żadnych zmian w configu nie było, w logach nic nie widzę. Mam podpięty modem Hlink z przekierowaniem portu 1194. Jak zmienię na protokół tcp to telnet na lokalny adres odpowiada ale na adres zewnętrzny już nie. Prośba o pomoc gdzie szukać problemu lub co mogę dostarczyć, żeby ktoś wskazał problem?
/etc/config/firewall
config zone
option name 'vpn'
option input 'ACCEPT'
option forward 'ACCEPT'
option output 'ACCEPT'
option network 'vpn'
option masq '1'
config forwarding
option src 'vpn'
option dest 'wan'
config rule
option name 'OpenVPN'
option target 'ACCEPT'
option src 'wan'
option proto 'udp'
option dest_port '1194'
config forwarding
option src 'vpn'
option dest 'lan'
/etc/config/network
config interface 'vpn'
option ifname 'tun0'
option proto 'none'
/tmp/openvpn
Tue Aug 25 13:49:04 2020 OpenVPN 2.4.7 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Tue Aug 25 13:49:04 2020 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Tue Aug 25 13:49:04 2020 WARNING: --keepalive option is missing from server config
Tue Aug 25 13:49:04 2020 Diffie-Hellman initialized with 2048 bit key
Tue Aug 25 13:49:04 2020 TUN/TAP device tun0 opened
Tue Aug 25 13:49:04 2020 TUN/TAP TX queue length set to 100
Tue Aug 25 13:49:04 2020 /sbin/ifconfig tun0 10.10.11.1 netmask 255.255.255.0 mtu 1500 broadcast 10.10.11.255
Tue Aug 25 13:49:04 2020 Could not determine IPv4/IPv6 protocol. Using AF_INET
Tue Aug 25 13:49:04 2020 Socket Buffers: R=[163840->163840] S=[163840->163840]
Tue Aug 25 13:49:04 2020 UDPv4 link local (bound): [AF_INET][undef]:1194
Tue Aug 25 13:49:04 2020 UDPv4 link remote: [AF_UNSPEC]
Tue Aug 25 13:49:04 2020 MULTI: multi_init called, r=256 v=256
Tue Aug 25 13:49:04 2020 IFCONFIG POOL: base=10.10.11.2 size=252, ipv6=0
Tue Aug 25 13:49:04 2020 Initialization Sequence Completed
Dodam jeszcze, że na interfejsie tun0 nic nie otrzymuje:
RX: 0 B (0 Pktw.)
TX: 304 B (4 Pktw.)