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.
hi i'm running a linux RH9 pc that connects to the internet via a laptop running XP, due to the fact redhat cant configure my intel modem. Anyways i can access the net fine and i also setup file sharing.
I now want to setup a server on my linux machine.
the laptop is using dial up internet access and a usb lan connecter, and i have a ethernet card in my PC.
So my question is - how would i find out the IP address that others from the net could access my server? would it be the same IP address given to the laptop from the ISP ?
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
It would be the external IP of your laptop (the one from your ISP), however you would need to forward the port used by file sharing into your Linux box (otherwise connections are going to go to your laptop).
I can't tell if Internet Connection Firewall provides this or not. I see there's a box for "IP address of host that provides this service" if you Edit the services entries in the ICF settings, but I don't know if that means it will forward connections on that port to the IP in the box, or just if it will allow connections from that IP to your box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.