|
|||||||||||
|
Re: network configuration issue - iptables
From: Adam Hardy <adam.ant(at)cyberspaceroad.com>
Date: Thu Jun 28 2007 - 18:07:01 EDT
>> 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. That worked! Respect to you. I have only a small grasp of what my iptables config does, but it works. Fortunately I recently set up DHCP for my whole LAN so it was just a case of changing the internal LAN in two or three files on the server from 192.168.1.* to 192.168.0.* Thanks for the idea. Adam -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Thu Jun 28 18:07:19 2007 This archive was generated by hypermail 2.1.8 : Thu Jun 28 2007 - 18:10:03 EDT |
||||||||||
|
|||||||||||