routing - Manual DD-wrt OpenVPN configuration -
i have setup openvpn server on router running dd-wrt. can connect router when on local network, cannot reach it, when try connect through dns. dns server working , have forwarded port. after 60s receive tls-handshae error. problem? thanks!
mon sep 11 00:35:12 2017 management: tcp socket listening on [af_inet]127.0.0.1:25340
mon sep 11 00:35:12 2017 need hold release management interface, waiting...
mon sep 11 00:35:12 2017 management: client connected [af_inet]127.0.0.1:25340
mon sep 11 00:35:13 2017 management: cmd 'state on'
mon sep 11 00:35:13 2017 management: cmd 'log on'
mon sep 11 00:35:13 2017 management: cmd 'echo on'
mon sep 11 00:35:13 2017 management: cmd 'hold off'
mon sep 11 00:35:13 2017 management: cmd 'hold release'
mon sep 11 00:35:13 2017 warning: --ns-cert-type deprecated. use --remote-cert-tls instead.
mon sep 11 00:35:13 2017 management: >state:1505082913,resolve,,,,,,
mon sep 11 00:35:13 2017 tcp/udp: preserving used remote address: [af_inet]:443
mon sep 11 00:35:13 2017 socket buffers: r=[65536->65536] s=[65536->65536]
mon sep 11 00:35:13 2017 udp link local: (not bound)
mon sep 11 00:35:13 2017 udp link remote: [af_inet]:443
mon sep 11 00:35:13 2017 management: >state:1505082913,wait,,,,,,
solved adding following lines firewall.
iptables -i input 1 -p udp -dport 443 -j accept iptables -i forward 1 -source 192.168.1.1/24 -j accept iptables -i forward -i br0 -o tun0 -j accept iptables -i forward -i tun0 -o br0 -j accept
Comments
Post a Comment