-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 15 Feb 2003 00:28:10 -0500 (EST), Justin Zygmont wrote:

> does anyone have a basic ip masquerading script that they use in 
> /etc/sysconfig/iptables.  It cannot set ip forwarding from there.

What have you tried?

/etc/sysconfig/iptables is not a script, but output from
iptables-save and input for iptables-restore.

IP Forwarding is done in two parts. 1) Via appropriate rules in the
netfilter FORWARD chain. And 2) via /etc/sysctl.conf
(net.ipv4.ip_forward = 1) which activates IP Forwarding in the
kernel upon reboot. To activate it manually, run

  sysctl -w net.ipv4.ip_forward=1
or
  echo 1 > /proc/sys/net/ipv4/ip_forward

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Tf+60iMVcrivHFQRArKJAKCBR4pU636ImlGjEAHoRIgCLjKk5wCfU/B8
MjwI8xEtVyjo0bBvFkIUv38=
=r9sQ
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to