On Thu, Aug 02, 2001 at 11:41:22AM +0200, Sebastiaan wrote:
| Then, on machine A do (if you have a 2.2 kernel):
| ipchains -F forward
| ipchains -P forward DENY
| ipchains -A forward -s 192.168.1.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j MASQ
| ipchains -M -S 3600 0 0
| echo 1 > /proc/sys/net/ipv4/ip_forward
Even simpler than that is to
# apt-get install ipmasq
The ipmasq package has default rules that work.
HTH,
-D