Greetings, I am new to DD-WRT and I need serial help with my OpenVPN configuration.
I use an Linksys WRT32X with Stock Firmware.
Here are my configuration files and log's.
I cannot find a config log on my Router.
Is ist possible that OpenVPN Server is locked out from Linksys on the WRT32X??
Thank you!
firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'DROP'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fc00::/6'
option dest_ip 'fc00::/6'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config include
option path '/etc/firewall.user'
config rule
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config rule
option name 'Samba'
option src 'lan'
option proto 'tcp'
option dest_port '139'
option target 'ACCEPT'
config include 'miniupnpd'
option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'any'
option reload '1'
config include 'krouter'
option path '/usr/lib/krouter-scripts/firemark.sh'
config redirect
option enabled '1'
option target 'DNAT'
option src 'wan'
option dest 'lan'
option name 'RDP_Client1'
option dest_ip '192.168.4.10'
option dest_port '3310'
option src_dport '3389'
option proto 'tcp udp icmp'
config rule
option name 'Allow-OpenVPN-Inbound'
option target 'ACCEPT'
option src '*'
option proto 'tcpudp'
option dest_port '1194'
config zone
option name 'vpnserver'
option input 'ACCEPT'
option forward 'REJECT'
option output 'ACCEPT'
option masq '1'
option network 'vpnserver'
config forwarding
option src 'vpnserver'
option dest 'wan'
config forwarding
option src 'wan'
option dest 'vpnserver'
config forwarding
option src 'vpnserver'
option dest 'lan'
config forwarding
option src 'lan'
option dest 'vpnserver'
network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd85:f178:0495::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.4.254'
config interface 'wan'
option ifname 'eth0'
option disabled '0'
option proto 'static'
option ipaddr 'x.x.x.x'
option gateway 'x.x.x.x'
option netmask ''x.x.x.x'
list dns ''x.x.x.x'
list dns 'x.x.x.x'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
option disabled '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 5'
config interface 'vpnserver'
option proto 'none'
option ifname 'ovpns0'
option auto '1'
OpenVPN Client Config
client
dev tun
proto udp
fast-io
remote x.x.x.x. 1194
remote-cert-tls server
nobind
persist-key
persist-tun
comp-lzo no
verb 3
key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
Certificate:
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>
Logfile OpenVPN Client (Windows):
Sun Mar 25 15:37:30 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Sun Mar 25 15:37:30 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Mar 25 15:37:30 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Sun Mar 25 15:37:30 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25342
Sun Mar 25 15:37:30 2018 Need hold release from management interface, waiting...
Sun Mar 25 15:37:31 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25342
Sun Mar 25 15:37:31 2018 MANAGEMENT: CMD 'state on'
Sun Mar 25 15:37:31 2018 MANAGEMENT: CMD 'log all on'
Sun Mar 25 15:37:31 2018 MANAGEMENT: CMD 'echo all on'
Sun Mar 25 15:37:31 2018 MANAGEMENT: CMD 'hold off'
Sun Mar 25 15:37:31 2018 MANAGEMENT: CMD 'hold release'
Sun Mar 25 15:37:31 2018 NOTE: --fast-io is disabled since we are running on Windows
Sun Mar 25 15:37:31 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Mar 25 15:37:31 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Mar 25 15:37:31 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Sun Mar 25 15:37:31 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Mar 25 15:37:31 2018 UDP link local: (not bound)
Sun Mar 25 15:37:31 2018 UDP link remote: [AF_INET]x.x.x.x:1194
Sun Mar 25 15:37:31 2018 MANAGEMENT: >STATE:1521985051,WAIT,,,,,,
Sun Mar 25 15:37:31 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:37:33 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:37:37 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:37:45 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:38:01 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:38:31 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 25 15:38:31 2018 TLS Error: TLS handshake failed
Sun Mar 25 15:38:31 2018 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 25 15:38:31 2018 MANAGEMENT: >STATE:1521985111,RECONNECTING,tls-error,,,,,
Sun Mar 25 15:38:31 2018 Restart pause, 5 second(s)
Sun Mar 25 15:38:36 2018 NOTE: --fast-io is disabled since we are running on Windows
Sun Mar 25 15:38:36 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x.:1194
Sun Mar 25 15:38:36 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Mar 25 15:38:36 2018 UDP link local: (not bound)
Sun Mar 25 15:38:36 2018 UDP link remote: [AF_INET]x.x.x.x:1194
Sun Mar 25 15:38:36 2018 MANAGEMENT: >STATE:1521985116,WAIT,,,,,,
Sun Mar 25 15:38:36 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:38:38 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:38:42 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:38:50 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:39:07 2018 read UDP: Unknown error (code=10054)
Sun Mar 25 15:39:36 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Mar 25 15:39:36 2018 TLS Error: TLS handshake failed
Sun Mar 25 15:39:36 2018 SIGUSR1[soft,tls-error] received, process restarting
Sun Mar 25 15:39:36 2018 MANAGEMENT: >STATE:1521985176,RECONNECTING,tls-error,,,,,
Sun Mar 25 15:39:36 2018 Restart pause, 5 second(s)