I have travelled through openwrt documentation but still haven't found the solution for my question. Actually, what I want is disabling NAT in openwrt. So my WRT54G will operate as a hub, just forward the packet from internal link to the uplink without modifying the source and destination ip address in the packet. However, I still want to keep my WRT54G operating as a DHCP server. Somebody please help me!
Topic: How to disable NAT in WRT54G
The content of this topic has been archived on 2 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
What is your need exactly:
- Do you want to remove only NAT (and keep routing between switch ports + wireless and WAN interface
- Or you want all ports (including WAN port) as a member of the switch ?
(Last edited by snip on 30 Nov 2005, 11:26)
If you really want to disable NAT, simply comment this line in /etc/init.d/S45firewall :
iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADEdelete or rename the /etc/init.d/S45firewall link,
The discussion might have continued from here.
Page 1 of 1
