LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2004, 04:57 PM   #1
pi_squared
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
Access server


How may I access a server that is not connected to the router the server is connected to?
 
Old 11-28-2004, 06:00 PM   #2
brenan99
LQ Newbie
 
Registered: Aug 2003
Location: Maryland
Distribution: Debian, Ubuntu, Solaris
Posts: 23

Rep: Reputation: 15
Could you be a little less ambiguous and a little more specific? Frankly, I'm confused about what that question is asking.
 
Old 11-28-2004, 06:34 PM   #3
pi_squared
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I have a server connected to a router with a few other computers connected to that router. The router gives the server an IP address such as 192.168.0.x. If a computer try's to access the server by typing in the ip address of the server given by the router it works. But if a person trys to access the server from a computer not connected to the router this raises the question of what IP address to type in since most routers give ip address of 192.168.0.(100 - 300) .

So how may I access the server from a computer not connected to the router wich the server is connected to?
 
Old 11-28-2004, 07:26 PM   #4
brenan99
LQ Newbie
 
Registered: Aug 2003
Location: Maryland
Distribution: Debian, Ubuntu, Solaris
Posts: 23

Rep: Reputation: 15
It sounds to me like you want to grant access to your server from computers over the internet, correct?

On the router you need to forward the port to the server according to the service you want to have available (ex port 21 for ftp). Then you need to know the router's ip address on the internet, this can be simply found out by browsing any site that automatically displays your ipaddress. Then from any computer on the net you can ftp to your box just by knowing your router's ip address.

This site can aid you in checking for your internet ip address and to see if you successfully forwarded the port.

https://www.grc.com/x/ne.dll?bh0bkyd2

Hopefully this answers your question, if not just post again to clarify what you are looking for.
 
Old 11-28-2004, 11:39 PM   #5
pi_squared
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I'll make the question a lot easier to understand even though you've answered it (I think).

I'm currently on LAN. How would I go about making my own ftp server. I'm also using a d-link router if that matters. I've tried following the instructions they give you on the site but it doesn't seem to work. It works on my computer but not for anyone else...
 
Old 11-29-2004, 07:22 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
this is still really not making much sense...

you can make an ftp server by installing and starting an ftp sever daemon on the box, such as proftpd. as far as your router... maybe you mean stuff about port forwarding / NAT etc...? in which case port 21 would need to be forwarded to an extenral interface
 
Old 11-29-2004, 10:55 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,380

Rep: Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649
If I might rephrase the question...

Your asking how do people access your server from the internet?

It is best to configure your server with a static IP address that will not conflict with the address that your router provides.

Next you will need to configure the router to foward FTP port (21) to the IP address of your server.

The clients will access the server via the IP address of the router or you can sign up for one of the free dynamic IP DNS services like www.noip.com. That way you do not need to worry about when your router's external IP address changes.
 
Old 11-30-2004, 02:32 PM   #8
LongName
Member
 
Registered: Aug 2004
Posts: 33

Rep: Reputation: 15
Thanks I got the server working (on linux, windows is buggy and not working properly)

There is one problem, the ISP provider I'm using gives me a new IP address everytime the router reconnects. Is it possible to access the server, a person could type "ftp://theserver.whatever.ca"?

Thanks in advance!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 06:40 AM
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 05:11 PM
Restrict X server access using /etc/security/access.conf anand_kt Linux - General 0 04-22-2005 08:40 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM


All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration