Does usb modem give public IP to computer?

tesseract

Member
Joined
Feb 26, 2004
Messages
20
If I connect a usb modem to a server, would that server get the public IP address. I want the server to serve as the firewall/router, so that I can fully control what comes in and out of my network.

If it is possible with a usb modem, would that be possible with a ethernet modem or a modem/router device?
 

Mean_Monster

Senior Member
Joined
Mar 2, 2004
Messages
584
You could implement a firewall with using the router config.

It would look something like this

PC ---\
PC --- HUB --- Server --- Router -- Internet
PC ---/

Obviously then the server would need two network cards. One would be on your local network something like 192.168.0.1 and the one connecting to the router could be anything in the same range and subnet as the LAN port on the POTS Router.

Example:

PC (192.168.0.2) --\
PC (192.168.0.3) -- HUB -(192.168.0.1) Server (190.160.0.1) -- (190.160.0.2) Router
PC (192.168.0.4) --/

Unless if you have an ip on the router already and don't want to mess around with it change the server ethernet port running to the router to be in the same subnet. also on that config configure the internal ip of the router as the gateway for the server. Then on the clients configure the server as the gateway.
 

tesseract

Member
Joined
Feb 26, 2004
Messages
20
What I meant was actually keeping the IP address from Telkom for the server, so that I don't have to configure port forwarding (it's additional work) for web services.

By letting a computer to do the firewall and gateway, I will be able to impose much more flexible rules for access (from internet and to internet).

ADSL Line - ADSL modem -(USB?)- (165.31.25.15)server(192.168.0.1) - Ethernet switch - other PCs.

Is this possible? Because I don't see people doing this, but I know this is possible if the server used a dial-up as opposed to ADSL.
 

caroper

Executive Member
Joined
Aug 5, 2003
Messages
8,162
Hi Tesseract,

Yes it is possible, and is the easiest way to do it, though many will say it is the least secure.

I have implemented it in three different ways.

1) Home network: Win 2000 with Internet connection sharing plus 2 win 98 pc’s.

2) Client A: SBS 2000 using IIS/ISA as firewall

3) Client B: win 2000 server, raspppoe to simulate dial up connection, 602lan suite as the firewall.

Option 1 was easiest to setup, option 2 is most reliable and option 3 is possibly the most secure.

All my other instillations use various routers and/or wifi hubs.

Hope that helps.

Cheers
Chris
 

tesseract

Member
Joined
Feb 26, 2004
Messages
20
I looked up raspppoe, and from what I understand, it is a driver that allows a computer's Ethernet NIC to connect to a Ethernet ADSL modem in the form of a dial-up, now is that correct?

When the computer connects, does the computer get the public IP of the modem(assigned by Telkom)?
 

Brandon

Well-Known Member
Joined
Feb 18, 2004
Messages
259
Yes, if you are using raspppoe (or equiv) you will get a telkom assigned ip for that connection. Please note that that pppoe works when your modem/router is configured to act as a bridge. (the ip assigned from telkom through pppoe is only for that computer, if another computer on your lan connects through ppoe protocol, it will be assigned a different ip from telkom.

B.
 
Top