Changeset 5987af1b79b0c1fbd4aa9d30a53ec6879853ece3

Show
Ignore:
Timestamp:
06/08/09 18:36:19 (3 years ago)
Author:
Neutron Soutmun <neo.neutron@…>
Children:
927d0c70c763dcf56e6f12ebe02a51688468a5c3
Parents:
2f0141c49bb55157f24738404aa77367a6a45fed
git-committer:
Neutron Soutmun <neo.neutron@…> (06/08/09 18:36:19)
Message:

Masquerading now do not mention the output iface

  • To do the masquerading now do not mention the output interface.
  • Flexible to the network configuration that have many paths to route, such as the network load balancing.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tools/firewall.sh.in

    r2f0141c r5987af1  
    571571  ## 
    572572  if [ "$MASQUERADE" = "yes" ]; then 
    573     $IPTABLES -t nat -A $CHAIN_NAT_POSTROUTING $DEV_OUT_PARAM $DEV_EXTERNAL \ 
    574       -j MASQUERADE 
     573    $IPTABLES -t nat -A $CHAIN_NAT_POSTROUTING -j MASQUERADE 
    575574  fi 
    576575