Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-10-2005, 05:21 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
Public Ip
Hi everybody!
I would like to now, If I'm using Apache and I want to see my website from anywhere do I need a PUBLIC IP?
If I'm setting up an FTP server to access from anywhere Do I need a PUBLIC IP?
What If I'm using PC ANYWH*RE an d I want to Loggin like a remote client, Do I need a Public IP?
Thanks for your colaboration.
|
|
|
10-10-2005, 05:26 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
of course, internal IP's are exactly what their name suggests  in turn wouldn't get you very far out in the internet world 
your internal ip would work internally and your external ip (what you call public i am assuming) would work outside your home.
|
|
|
10-10-2005, 05:30 PM
|
#3
|
Member
Registered: Nov 2003
Distribution: Arch
Posts: 136
Rep:
|
Yes, you do.
It doesn't matter if it's the ip address of your router, which could then forward through to your apache / ftp server, or if you have a direct dial connection from your apache / ftp server.
The main point here is: You can't get on the web without a public ip address. This is what your ISP gives you when you connect.
You may have an ISP then assignes you a permenant address, in which case it's easy to remember, or you may be given a different one each time you dial up, in which case you would have to make a note of it each time you connect.
|
|
|
10-10-2005, 07:10 PM
|
#4
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Original Poster
Rep:
|
Thanks DrOzz, Thanks Mike,
Thats is exactly what I'm asking about, I'm not an English native speaker I'm From El Salvador and we call Public IP (external Ip I think), to an Ip that allow to you to have access to you web server (for example) from anywhere,
But It's there any other way to avoid this, or is requirement?
I tried to setup a web server before, but just me and other terminal from the same ISP network that provides Internet to me could see it.
What about an FTP server?
|
|
|
10-10-2005, 07:59 PM
|
#5
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
If you're connected to the internet then you have a public IP address already. However with a lot of internet connections sold to consumers (ie. not to businesses) this IP address can change every time you connect, or even every so often, dependening on how your ISP sets it up. If you really want to do web hosting then contact your ISP about signing up for a business connection with a static IP.
There is a way to get around the changing IP problem - register your domain name with a dynamic DNS place like http://www.dyndns.com/ and then run ddclient ( http://ddclient.sourceforge.net/) to update your IP address whenever it changes. That way you can have a domain name that will always point to the right IP address.
|
|
|
10-10-2005, 08:04 PM
|
#6
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Original Poster
Rep:
|
Thanks so much tkedwards.
|
|
|
10-10-2005, 10:30 PM
|
#7
|
Member
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116
Rep:
|
Quote:
Originally posted by the-roseman
Thanks DrOzz, Thanks Mike,
Thats is exactly what I'm asking about, I'm not an English native speaker I'm From El Salvador and we call Public IP (external Ip I think), to an Ip that allow to you to have access to you web server (for example) from anywhere,
But It's there any other way to avoid this, or is requirement?
I tried to setup a web server before, but just me and other terminal from the same ISP network that provides Internet to me could see it.
What about an FTP server?
|
To find out what the public IP assigned to you by your ISP is, you can go to this little mivascript I wrote:
http://w-3productions.com/myaddress.mv
It'll tell you what YOUR public IP is at the time you access it.
Cheers
|
|
|
All times are GMT -5. The time now is 04:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|