On Thu, Nov 15, 2007 at 12:08:21AM -0500, H.S. wrote: > Hello, > > I have an adsl modem connected to a linux box which acts as a router. > The router machine has three interfaces: > eth1: 192.168.1.2, connected to the modem > eth0: 192.168.0.1, the wired LAN (192.168.0.0/24) using a switch > ath0: 192.168.5.1, the wireless lan (192.168.5.0/24) > > The modem's LAN ip address is 198.168.2.1. The modem is working in --------------------------------------^^^^^ typo?
> bridge mode and when a connection is established, ppp0 is formed on > the > router machine. > > The iptables script that I have on the router machine does the > forwarding and nat. All works okay between the wired and wireless LAN > and the internet and also within the wired and wireless LAN. > > The problem is that I can access the modem's web interface (on > 192.168.2.1) only from the router machine and not from any other LAN > machine. Could somebody tell me what are the iptables rules needed to > make this happen? I'm not a network expert, but I'm guessing you are forwarding from eth0 and ath0 only to ppp0. You probably have to add forwarding also to eth1. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature