[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot access modem's config page



the netmask 255.255.255.0 block u  access.
try a netmask 255.255.0.0 or set a temp static ip such as 192.168.2.x
then u can do it.


> 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
> 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?
> 
> This is on Debian Testing, running 2.6.18.
> 
> 
> Thanks,
> ->HS
> 
> 

Attachment: signature.asc
Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?=


Reply to: