- wrong forwarded port, i.e. a typo in configuration;
since the options in this menu are as simple as "protocol / port / forward-ip" i can't do much wrong here
- server side not configured to have router as a default gateway (if you had some static configuration, and router is notba dhcp server - quite possible)
the RUT240 is configured as DHCP/NAT with the static DHCP entry. The DD-WRT router also gets the specified IP assigned. So all settings should already come along with DHCP.
- server with multiple interfaces, and vpn response is not routed to router's lan ip
the server is directly executed on the DD-WRT router
- no actual public ip. Just for the sake of it, check of the wan ip in overview window is the same as in i.e. whatsmyip. And in general confirm that the sim ip is reachable from outside.
already did that. The public IP is correct. The OpenVPN client also resolves the DDNS address to the correct IP. Logs on client and server state that the IP is correct.
If you do packet capture on the server side - do you get any vpn packets?
when i run tcpdump -i vlan2 udp port 1193 -vv on the DD-WRT router and try to connect the OpenVPN client i do not receive anything. (where "vlan2" is the interface name of the WAN port)
Whereas tcpdump -i vlan2 captures my internet traffic while browsing a website as it should.
So to me it looks like the RUT still blocks my OpenVPN connections. I also tried to enabled webUI access in my DD-WRT router, created a portforward rule to 8080 and tried to connect via the public ip. Same result, not reachable.
Basically DMZ should already do what i want no? And it also should be pretty straight forward to setup those 2 config fields for "enabled" and "target host ip", but it still seems it is not working.