burntoc
So I've been dealing with this problem for a while, but I thought I'd finally reach out for help as I'm stymied. I've been running 2 OpenVPN instances on TomatoUSB on my N66U router for a long time. Almost a year ago, I had it working fine, with TCP and UDP clients able to connect, access LAN resources, and tunnel through to the Internet. At some point my config got wiped on both the client and server, and I've been unable to get UDP to work ever since. TCP still works perfectly for all of the above, and UDP will connect, but clients cannot access LAN resources or get to the internet. Here is my working TCP client config:
client
dev tun
proto tcp
remote myhome.dyndns.org 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert laptop.crt
key laptop.key
ns-cert-type server
comp-lzo
verb 3
redirect-gateway
And here is my UDP client config:
client
dev tun
proto udp
remote myhome.dyndns.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert laptop.crt
key laptop.key
ns-cert-type server
comp-lzo
verb 3
redirect-gateway
The client logs don't show any errors, and they look very similar, with only this at the end of the UDP logs after the reports of the test routes succeeding:
Wed Nov 13 11:36:05 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
Wed Nov 13 11:36:05 2013 Route addition via IPAPI succeeded [adaptive]
My local lan is 192.168.100.x\24. The TCP server settings show TUN via 443, VPN subnet of 10.8.0.0/24, pushing LAN to clients, responding to DNS, etc. The UDP server settings are virtually identical, but they are TUN via 1194. I've tried changing the UDP ports and I can still connect, but the other issues remain the same. Thanks for any help.