Disabling NAT?

Discussion in 'DD-WRT Firmware' started by hotrat, Jun 24, 2005.

  1. hotrat

    hotrat Network Guru Member

    Can someone please help me out with the command to disable NAT & the Firewall but leave all the other settings like gateways etc?

    Am not needing to use them because my 2 54GS's are behind another router as clients, also whether it goes in the startup or the firewall script??

    BIG THANKS to BrainSlayer!! All your work is MUCH appreciated mate!

  2. 4Access

    4Access Network Guru Member

    It sounds like you want to use your router like an AP...? If that's the case then simply connect the network cable to a LAN port on your WRT & disable its DHCP server.
  3. hotrat

    hotrat Network Guru Member

    nah nah like they are in client mode connected wirelessly to a wag54gv2 (ap) which is alrealy nat'ing stuff so i dun need/want to nat twice and run firewalls on them there is no point !


  4. DevilStick

    DevilStick Network Guru Member

    Well, since you postet into DD-WRT forum, I assume you are running this firmware. So simply go to Setup --> Advanced Routing and switch from Gateway mode to Router mode.

    So, you do not have nat translation any more and can directly forward between your wireless connection and your attached clients. All you need are 2 networks.

    Maybe you can even use the VLAN configuration to bridge your WRT54G wan port to the LAN ports, then one network should be enough. But did not test this solution.
  5. hotrat

    hotrat Network Guru Member

    ahh ok so selecting anyhting but gateway under advanced routing turns off NAT??

    thanks for that

  6. 4Access

    4Access Network Guru Member

    Yes but I have a feeling it's probably not going to give you what you want.

    You'll still have to have different subnets. For example if the network your client mode WRT is connected to uses the 192.168.1.x range you MUST configure something different such as 192.168.2.x for the LAN side of the WRT in client mode.

    To get all the clients on the same subnet you need something being called Bridged Client Mode, currently only available in Talisman. (I believe BrainSlayer is planning on adding it to DD-WRT but it is not yet in the v22Prefinal5 release...)
  7. DevilStick

    DevilStick Network Guru Member

    Why don't you just use WDS?

    I have bridged 2 WRT54G together via WDS. I can connect to both WRT54G via wireless clients and have only one ip network running.

    I think this would be a good solution.
  8. 4Access

    4Access Network Guru Member

    Agreed! But this only works if the router the two WRTs are connecting to is also capable of WDS... It's definitely something to look into though.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice