ksysv has the ip6tables and iptables services set as early starters
(ksysv 02 & 03).

This is wrong for all iptables scripts that include masquerading because
at that point there is no network yet set up and apparently iptables
checks the LAN.

Masquerading is therefore not set up, with no error or warning produced.

The fix is as root to use ksysv to shift both services into the 90s for
runlevel 5.

This now makes my list of post-install necessary operations:

> arrange automount of the home partition on /home,
> from another linux remove all the contents of /home,
> replace fstab,
> replace lilo.conf,
  run lilo,
> get rid of the /mnt directory in favour of a /local directory,
> set up many more mount points,
> set up the same set of mount points for each machine on the network
> under /<machine name>,
> replace /etc/resolv.conf,
> replace /etc/hosts,
  change end of rc.local,
> replace wine.conf,
  set default rouite of all non-gateway machines to the gateway (eth0),
> install the iptables RPM (should have been installed by Mandrake),
> set up iptables scripts (I use MonMotha's),
> install the nfs-clients RPM,
> replace /etc/exports,
> run exportfs -r
> add a script for setting the clock (ntp-set) with panel invocation,
> set it executable by root,
> run kdf and worldwatch all the time,
> log on as root to set special schema for all root operations (These
> appear when su to root - this is a bad omission by Mandrake).
  use ksys to move ip6tables and iptables services up to the 90s
  code the proper things for start and stop of /etc/init.d/ip6tables and
/etc/init.d/iptables
> etc.

Tip: For people using MonMotha's iptables script (look up "iptables" in
google), to take down the firewall and leave the masquerading up you
must code the /etc/init.d/ip6tables and /etc/init.d/iptables stop
commands to execute:

iptables -P INPUT ACCEPT; \
iptables -P OUTPUT ACCEPT; \
iptables -P FORWARD ACCEPT; \
iptables -t filter -F && \
        success "Resetting built-in chains to the default ACCEPT policy" || \
        failure "Resetting built-in chains to the default ACCEPT policy"

-- 
Ron. [au]

Reply via email to