Providing network services when static IP is assigned to the router
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Providing network services when static IP is assigned to the router
Hi,
My ISP provides me a free static IP. But they have assigned it to the router instead of my system.
I'd like to use the static IP facility to run some network apps to allow things like direct file transfer from friends and stuff. How can I do this when the static IP is still assigned to the router itself?
I know this is not directly related to Linux but since I use Kubuntu 7.04, I thought by posting here, I can get Linux specific configuration steps.
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 105
Rep:
Looks like you have a D-Link router. There are many help pages on setting up NAT on these routers, but the basics are:
Global Address = your address on the internet (the static address from your ISP)
Local Address = the address of your PC in your local network - probably 192.168.1.2
Destination port = the port for making the connection - e.g. 21 for FTP, 80 for HTTP
Local port = the port that you want this service to be available on your local PC - you may want to set your local FTP server to use port 2121 - it can be any value up to 65535, but ports below 1024 are special and have access restricted to the root user so avoid them.
My ISP provides me a free static IP. But they have assigned it to the router instead of my system.
I'd like to use the static IP facility to run some network apps to allow things like direct file transfer from friends and stuff. How can I do this when the static IP is still assigned to the router itself?
I know this is not directly related to Linux but since I use Kubuntu 7.04, I thought by posting here, I can get Linux specific configuration steps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.