Networking Forums

Networking Forums > Computer Networking > Linux Networking > Private IP firewall question

Reply
Thread Tools Display Modes

Private IP firewall question

 
 
Alex
Guest
Posts: n/a

 
      04-20-2004, 01:10 PM
Hello all:

Is it possible to use rc.firewall, ipchains, or another solution to
create pretty good firewalling rules even though I can only assign
private IPs to my ethernet cards? (I can control the (apple airport)
router, but cannot replace it out with my linux box directly).

details:
My landlord shares his wireless DSL with the rest of the folks in the
house/apartment. He has an Airport router which serves up DHCP (and
receives a single dynamic IP from the provider). I am running a
webserver behind the router through dyndns.org and now I would like to
put rc.firewall (or something) in place with some good rules. The
only problem is I can only assign my ethernet cards private IPs.

Is there a good ruleset somewhere that addresses this set up? I'm
guessing this would be nearly impossible since everything is private
IP.

Any help would be appreciated. Thanks in advance to the group for
advice.

Alex
 
Reply With Quote
 
 
 
 
Clive Dove
Guest
Posts: n/a

 
      04-20-2004, 04:07 PM
Alex wrote:

> Hello all:
>
> Is it possible to use rc.firewall, ipchains, or another solution to
> create pretty good firewalling rules even though I can only assign
> private IPs to my ethernet cards? (I can control the (apple airport)
> router, but cannot replace it out with my linux box directly).
>
> details:
> My landlord shares his wireless DSL with the rest of the folks in the
> house/apartment. He has an Airport router which serves up DHCP (and
> receives a single dynamic IP from the provider). I am running a
> webserver behind the router through dyndns.org and now I would like to
> put rc.firewall (or something) in place with some good rules. The
> only problem is I can only assign my ethernet cards private IPs.
>
> Is there a good ruleset somewhere that addresses this set up? I'm
> guessing this would be nearly impossible since everything is private
> IP.
>
> Any help would be appreciated. Thanks in advance to the group for
> advice.
>
> Alex


Speaking theoretically:

I am not familiar with that make of router, but if it behaves as the
majority of dsl routers, then the ip address assigned by the service
provider will belong to your landlord's router and the landlord' dhcp
server daemon will assign addresses in a private ip range to the
machines connected to it.

In turn, if you have a router to drive your machines, your router will
own the private ip address assigned by the router and you would use a
different private ip range inboard of the router.

So it would be normal for everything inboard of your router to be in a
private ip range. Your local net should have a private ip range that is
different than that which your landlord's router's dhcp server daemon
is using.

Your server uses a dhcp client to get a private ip address from the
landlord's router's dhcp daemon. Your server then uses a dhcp server
daemon to assign a different range of ip addresses to your computers.
Your computers use dhcp clients to get ip addresses from your own
server and they don't care what ip addresses are being used outside of
the router so long as the dhcp daemons all pass on correct gateway and
dns server addresses.


Clive




 
Reply With Quote
 
Alex
Guest
Posts: n/a

 
      04-20-2004, 08:56 PM
Clive

Thank you for that! Here I was getting all complicated and forgot to
look at the simple solution. I appreciate your help and will deploy
presently!

Alex

Clive Dove <(E-Mail Removed)> wrote in message news:<tVbhc.223484$(E-Mail Removed) ble.rogers.com>...
> Alex wrote:
>
> > Hello all:
> >
> > Is it possible to use rc.firewall, ipchains, or another solution to
> > create pretty good firewalling rules even though I can only assign
> > private IPs to my ethernet cards? (I can control the (apple airport)
> > router, but cannot replace it out with my linux box directly).
> >
> > details:
> > My landlord shares his wireless DSL with the rest of the folks in the
> > house/apartment. He has an Airport router which serves up DHCP (and
> > receives a single dynamic IP from the provider). I am running a
> > webserver behind the router through dyndns.org and now I would like to
> > put rc.firewall (or something) in place with some good rules. The
> > only problem is I can only assign my ethernet cards private IPs.
> >
> > Is there a good ruleset somewhere that addresses this set up? I'm
> > guessing this would be nearly impossible since everything is private
> > IP.
> >
> > Any help would be appreciated. Thanks in advance to the group for
> > advice.
> >
> > Alex

>
> Speaking theoretically:
>
> I am not familiar with that make of router, but if it behaves as the
> majority of dsl routers, then the ip address assigned by the service
> provider will belong to your landlord's router and the landlord' dhcp
> server daemon will assign addresses in a private ip range to the
> machines connected to it.
>
> In turn, if you have a router to drive your machines, your router will
> own the private ip address assigned by the router and you would use a
> different private ip range inboard of the router.
>
> So it would be normal for everything inboard of your router to be in a
> private ip range. Your local net should have a private ip range that is
> different than that which your landlord's router's dhcp server daemon
> is using.
>
> Your server uses a dhcp client to get a private ip address from the
> landlord's router's dhcp daemon. Your server then uses a dhcp server
> daemon to assign a different range of ip addresses to your computers.
> Your computers use dhcp clients to get ip addresses from your own
> server and they don't care what ip addresses are being used outside of
> the router so long as the dhcp daemons all pass on correct gateway and
> dns server addresses.
>
>
> Clive

 
Reply With Quote
 
Alex
Guest
Posts: n/a

 
      04-20-2004, 10:21 PM
Clive

Thank you for that! Here I was getting all complicated and forgot to
look at the simple solution. I appreciate your help and will deploy
presently!

Alex

Clive Dove <(E-Mail Removed)> wrote in message news:<tVbhc.223484$(E-Mail Removed) ble.rogers.com>...
> Alex wrote:
>
> > Hello all:
> >
> > Is it possible to use rc.firewall, ipchains, or another solution to
> > create pretty good firewalling rules even though I can only assign
> > private IPs to my ethernet cards? (I can control the (apple airport)
> > router, but cannot replace it out with my linux box directly).
> >
> > details:
> > My landlord shares his wireless DSL with the rest of the folks in the
> > house/apartment. He has an Airport router which serves up DHCP (and
> > receives a single dynamic IP from the provider). I am running a
> > webserver behind the router through dyndns.org and now I would like to
> > put rc.firewall (or something) in place with some good rules. The
> > only problem is I can only assign my ethernet cards private IPs.
> >
> > Is there a good ruleset somewhere that addresses this set up? I'm
> > guessing this would be nearly impossible since everything is private
> > IP.
> >
> > Any help would be appreciated. Thanks in advance to the group for
> > advice.
> >
> > Alex

>
> Speaking theoretically:
>
> I am not familiar with that make of router, but if it behaves as the
> majority of dsl routers, then the ip address assigned by the service
> provider will belong to your landlord's router and the landlord' dhcp
> server daemon will assign addresses in a private ip range to the
> machines connected to it.
>
> In turn, if you have a router to drive your machines, your router will
> own the private ip address assigned by the router and you would use a
> different private ip range inboard of the router.
>
> So it would be normal for everything inboard of your router to be in a
> private ip range. Your local net should have a private ip range that is
> different than that which your landlord's router's dhcp server daemon
> is using.
>
> Your server uses a dhcp client to get a private ip address from the
> landlord's router's dhcp daemon. Your server then uses a dhcp server
> daemon to assign a different range of ip addresses to your computers.
> Your computers use dhcp clients to get ip addresses from your own
> server and they don't care what ip addresses are being used outside of
> the router so long as the dhcp daemons all pass on correct gateway and
> dns server addresses.
>
>
> Clive

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      04-21-2004, 01:52 AM
Alex wrote:

> Is it possible to use rc.firewall, ipchains, or another solution to
> create pretty good firewalling rules even though I can only assign
> private IPs to my ethernet cards?


Certainly. There's no difference between those "private" addresses and any
other, except they're supposed to be blocked from the Internet.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch firewall profile public <-> private in Server 2008/Vista Jeff Stark Windows Networking 0 02-27-2009 09:32 PM
Masquerading private LAN to private ip entpneur@gmail.com Linux Networking 1 12-31-2007 02:39 AM
LINUX/shorewall firewall to firewall VPN question sundog@mountaindogs.net Linux Networking 3 03-14-2006 04:04 PM
public to private IP migration question Steve Long Windows Networking 3 06-10-2005 04:22 PM
NAT & multi-subnet private network question =?Utf-8?B?RXdhbg==?= Windows Networking 3 01-16-2005 10:48 PM



1 2 3 4 5 6 7 8 9 10 11