I think you will need to add more iptables commands like accept
prerouting, accept forwarding....

iptables -I  nat 1 -A PREROUTING -j ACCEPT
iptables -I FORWARD 1 -j ACCEPT.

Check Priority also.



On 2/21/08, Sandip Bhattacharya <[EMAIL PROTECTED]> wrote:
> Puneet Lakhina wrote:
> > Hi,
> > I have an airtel broadband connection. My modem is airtel 220bx
> > ethernet modem. This modem is connected to Dlink wirless router di524.
> > My laptop(wirless) and my desktop(ethernet) are connected to this
> > router.
>
> Just curious. Do you have a particular reason to use double NAT?
>
> For example, if you enable DHCP in the DSL router(if you are using dhcp
> for office machines), connect it to the LAN port(not the uplink port) of
> the wireless router, and disable DHCP on the wireless router ... you
> would only have a single private network in the office. Managing a
> single level of NAT on the external router is going to be simpler if you
> are going to rely on it a lot.
>
>
> - Sandip
>
>
> _______________________________________________
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Next Event: http://freed.in - February 22-24, 2008
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>


-- 
->Mehul<-

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to