Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: network configuration issue - iptables

From: Andrew Sackville-West <andrew(at)farwestbilliards.com>
Date: Sun Jun 24 2007 - 23:27:22 EDT


On Sat, Jun 23, 2007 at 08:35:09PM +0100, Adam Hardy wrote:
> I have set up a network for our house using a gateway server with etch and
> two NICs, eth1 for the internal network and eth2 for the DSL modem.
>
> I set up iptables with firewall-builder and all seems OK, but I can only
> ever access the web interface on the DSL modem from the gateway server
> directly after downing the internal network on eth1.
>
> The modem's web interface is on 192.168.1.1 on eth2 and if I don't down
> eth1, the browser won't find it.

number your internal lan addresses in a different subnet. Use 192.168.2.x for your lan. Then, because the modem is on a different subnet, it should "just work". At least in my lan it works that way. My dsl modem is accessible as 192.168.0.1 while my lan is 192.168.1.x.

also, you can sometimes (depending on how its all configured) access the modem by browsing to your *public ip* which resolves to your modem, but since you're coming form the inside, it gives you the configuration.

hth.

A

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Jun 24 23:28:08 2007

This archive was generated by hypermail 2.1.8 : Sun Jun 24 2007 - 23:30:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library