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, how can I check what is my public ip? I want people to connect to my site but I only have my private IP for my other computers at home. And I'm running Ubuntu Server so I don't have any kind of GUI to browse the net.
To make this easier on you you will probably want to run ddclient and use dyndns.org to get a hostname that you can use from the internet to connect to your dynamic IP. Of course, if you have a static address just ignore this If you want to see the ip addresses assigned to the interfaces just use ifconfig -a
or if you have your own website that's public, the IP of the requesting machine (you) is sent to the page, so PHP or ASP can return that from the headers - I have that on my site: http://pnguyen.net/getmyip.php
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.