My router is forwarding both ports 80 & 443 to my Linux (Ubuntu 16) box...and everything works great.

To access my Linux box from my laptop (Windows 7) I only have to type in my public IP address and...whether my laptop is connected to the same router as the Linux box or not...I am able to connect all the same.

My question is:

If my laptop is on the same local network as my Linux box and I connect by using the public IP address (not the local one), will the connection be routed via the ISP?


I'm not sure whether this question belongs on servefault or superuser.


via ISP, no.

The router will show that public IP as locally connected to the wan interface on your router, the packets will never leave that device and be returned back to your local IP.

You can think of this similarly to accessing your computer at or (as example, your computer is at

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.