Small FTP/IP question

August 7th, 2016

Hi,
If you are connected to your local home networtk via a router, and you try to connect to a FTP server within that local network using the WAN IP address of your router, will all the traffic be local? Or will it go trough your ISP?
I know I could just connect to my local FTP ip 192.168.0.5 but I’d rather not make 2 profiles for when I’m outside my network.
ty

Answer #1
WAN IP = Assigned by your ISP, Available to the outside world.
LAN IP = Assigned by the Router or OS, Available strictly on the local network.
If you wanna keep it local while at home, You’d have to use the LAN IP (192.X)
Answer #2
Or you could just forward your port 21 from your WAN IP to your LAN IP at your Router, and if its not a crappy router, the connection should still hit your router, then then go straight to the destination IP for that port. There is no reason at all it would be routed past your router to the WAN. This will also allow you to access your FTP server from anywhere on a WAN if desired. I use to use home server’s all the time =)
PS: I have seen this fail many times with default firmware on cheap routers, and you will just time out, lol.

 

| Sitemap |