static IP?

5 posts / 0 new
Last post
aladds's picture
Offline
Last seen: 1 month 2 days ago
Joined: Dec 26 2003 - 16:21
Posts: 298
static IP?

In july, we might be getting ADSL, and this is very cool :macos:, but i need a bit of help, soon i will be using my IIsi (soon to be running A/UX when i get a new HD(from my friend at school)) on my internal network, now, i would like to use it as a webserver, and to be able to telnet to it from school to transfer files and stuff, but, as A/UX dosn't support DCHP (i think that's what it's called) i need to be able to find a free IP address to use, as we have a (resonably small) network of what will be (VERY soon) about 6 or 7 computers(1 PC, 5 or 6 macs(one running A/UX)), i will need a static IP for each, (I Think) and a firewall (can get that easily) but when i get my home network fully set up we will probably all be on line and so i just need general help really, please?
Basically I need to get an ADSL modem (Mabye with Firewall), a ethernet HUB, lots of cable, patch cables, network sockets and then software (that's where i need help!!!!!)

I just hope that somebody understands what i'm getting at

rael9's picture
Offline
Last seen: 2 years 12 months ago
Joined: Dec 26 2003 - 16:21
Posts: 216
Here's what you need

You need an ADSL modem, which actually comes with the service a lot of times. You will need a router of some sort, and you will need ethernet cable.

When it comes to routers, you have 2 options. Either buy one (preferably with a switch built in that has enough ports for all of your computers) or make one using some old PC you have around, acouple of ethernet cards and a switch. You are better off with a switch than a hub. If you want to go the buy route, get yourself a Linksys or netgear or some such. Make sure it has a firewall built in. If you want to roll your own, download Smoothwall Linux (www.smoothwall.org) and install it. Read up on the configuration of it. Enjoy Linux Goodness (TM). Set it up thusly:

Connect your ADSL modem to the phone line and then to the WAN port on the router (or the Red interface of Smoothwall). Connect the computers to the switch ports (Either built in to the router or standalone. If it's standalone, connect the Uplink port to the Green interface on your Smoothwall box.) Then configure your router to do DHCP from 192.168.0.100 to 192.168.0.200, which leaves everything under 100 open for static IPs. Configure all the computers that support it to do DHCP, and then assign static IPs to the computers that don't by simply giving each a unique number like 192.168.0.5, changing the last digit for each machine.

Then you need to set up port forwarding to your server machine. Assuming your server is 192.168.0.5, set it up to forward port 80 and 22 and whatever else you need to the same ports on 192.168.0.5.

That should get you up and running. Keep in mind that Telnet is EXTREMELY insecure. It sends everything in plain text, including passwords. Use SSH instead if at all possible. Also, a lot of ISPs block port 80, so you may have to use a custom port for your web server (like 8080 or something). They may even block FTP and Telnet, considering that both are considered security risks. They usually don't block SSH, though.

James M. Baker
----------
Computer Nerd
----------
My site

aladds's picture
Offline
Last seen: 1 month 2 days ago
Joined: Dec 26 2003 - 16:21
Posts: 298
Yes! someome understands me,

how do you set up port forwarding and how would i connect to it via SSH?

Cheers (So far the provided info has been EXTREMELY HELPFUL!!!! Thankyou Very Much!)

adam

www.applemac.tk
www.aladds.clubmac.co.uk
(Mac museum and PB 500 battery re-celling walkthrough)

applemachome's picture
Offline
Last seen: 19 years 1 month ago
Joined: Dec 20 2003 - 10:38
Posts: 132
192.168.2.1 or 192.168.2.0

Go to 192.168.2.1 or 192.168.2.0 in internet explorer or your web browser and it should point to a router config site thats in your router. Also, you can go to dyndns.org to get a sub-domain that follows your ADSL dynamic ip connection to your provider, so you dont have to remember ip addresses.

****************
*APPLE MAC HOME*
****************

rael9's picture
Offline
Last seen: 2 years 12 months ago
Joined: Dec 26 2003 - 16:21
Posts: 216
Depends on the router

How you set up port forwarding depends upon the router you use. On a Linksys, you go to 192.168.1.1, click on the Advanced tab, click on the Forwarding tab, then enter in the port you want to forward and the port to forward it to.

James M. Baker
----------
Computer Nerd
----------
My site

Log in or register to post comments