On 5 Sep 2001 08:29:37 -0700, [EMAIL PROTECTED] wrote: >I can ping outside and inside networks from the router, and I can ping the LAN side of the router from a local computer, but I can't ping outside from the local computer.
You need SNAT ("ip masquerading") like this: if [ -n "$EXTERNAL" ]; then for ext in $EXTERNAL; do ipnm_cache $ext $IPTABLES -t nat -A POSTROUTING -o $ext -j SNAT --to $IPOFIF done fi $EXTERNAL is the set of external interfaces you have, "ipnm_cache" precomputes the IP address and netmask for the respective external interface (the IP address gets stored in $IPOFIF.) -- Verkaufe Original-BMW-Raeder: L I N U X .~. http://adsl-bergs.rz.rwth-aachen.de/~rabe The Choice /V\ of a GNU /( )\ Generation ^^-^^