I need to get my wifi router to do port forwarding from internal LAN connections. The Port Forwarding feature of my router DIR-615 works as expected. I am having problem getting it to work within my LAN.
Lets start with some assumption
Wifi Router - LAN IP = 192.168.0.1 Public IP : dynamic
FTP server - LAN IP - 192.168.0.200 : 21
My PC - LAN IP - 192.168.0.2
Dynamic DNS : username.dyndns.org
The Wifi router is set to forward Port 21 to 192.168.0.200 . The connection to my FTP server works fine from connections outside my LAN (eg from work) by connecting to username.dyndns.org . But when I try FTP connection to username.dyndns.org from within my LAN here is what happens
Step 1 : It resolves the dynamic dns address to the router Public IP address.
Step 2 : Router figures it out as 192.168.0.1
Step 3 : the PC within the LAN tries to connect to to 192.168.0.1:21 instead of 192.168.0.200:21
In my ideal situation, my Wifi router will do port forwarding from router (192.168.0.1) from WAN as well as LAN. Currently, the port forwarding only works from WAN. The end objective is so that I can connect to the same address (username.dyndns.org) from both inside and outisde my LAN . If port forwarding don't happen within the LAN connections, this won't work.
This seems to be a router specific issue. I've had routers in the past that can do this. But my current router is does not have this ability (can't find a way to configure it either). Anyone here has a wifi router that don't have problems connecting to your servers within your LAN using dynamic dns address?