English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have 3 compuers (2 mine, 1 families), one of my computer i hve SUSE Linux 9.3 (i think) Prof installed, and was wonder if i could host a server off that computer through my router/gateway?

2006-09-17 06:49:34 · 6 answers · asked by Anonymous in Computers & Internet Computer Networking

ok now i have another question:
i have DSL
would i have to have 2 Network cards on the Linux computer if hosted it as a server? one card for the DSL connection and then one card going to the router? or can i get away with having one netwok card and then configure the router to forward everything to the linux comuter?

2006-09-17 08:18:23 · update #1

forget the lst detail i added, lol i was being stupid lol, anyways thanks for the help ill chose a Best answer ASAP

2006-09-17 08:21:37 · update #2

6 answers

Yes. To let people from the internet get to your server, you need to enable port forwarding. However, your isp may not like you hosting servers on your internet connection, just a warning. Some don't care.

Go to the router configuration and look for a port forwarding section. It will probably ask you what ports you want to forward (port 80 for http, port 443 for https), what protocol to use (http and https use tcp), and what IP to forward them to. So make sure your server has a static IP. If you need a list of what services use what ports, look here:
http://www.iana.org/assignments/port-numbers

In order for people to get to your server, they can put in the IP of your internet connection, (not the server IP on the network). If your connection IP changes, then you can ask for a static IP from your isp, or use a service like DynDNS. If you have a static IP from your isp, you may be able to get a standard DNS setup.

2006-09-17 07:03:08 · answer #1 · answered by Bryan A 5 · 1 0

It sounds like your Linux box is before the router then (regards to the second question). Then you wouldn't need to set up port forwarding in the router, but you would need to configure iptables in your Linux box. The server would also be acting like a router, while the router should be acting like a switch. Otherwise all your other machines may be double NAT'ed and not be able to reach the server.

2006-09-17 08:24:49 · answer #2 · answered by doc311 2 · 0 0

Bryan A's answer is very good, I could not add much to it,

But I just wanna say that you will need to forward the port that corresponds to the service that your server will offer.

Example, If you wanna make an FTP server, You will need to forward port 21 from your router to your server's virtual IP (in case all the 3 computers share the same real IP). If each computer has it's own real IP, You will not need to forward any port to your server.

That's it.
Thanks

2006-09-17 07:42:07 · answer #3 · answered by illamoon 3 · 0 0

seem at BeastNode, they are extremely stable. you will get low fee servers alongside with a unfastened subdomain for a cyber web website, and a mumble VOIP server to circulate with it. examine the hyperlink interior the supplies in case you want greater training.

2016-10-15 02:28:57 · answer #4 · answered by ? 4 · 0 0

yes

you need to configure your router virtual server to route all port 80 traffic to your linuxbox

2006-09-17 06:56:11 · answer #5 · answered by guido_961 4 · 0 0

Yep!

That is how the Inet works.

Have fun but be safe!

2006-09-17 07:07:47 · answer #6 · answered by Anonymous · 0 0

fedest.com, questions and answers