Mailinglist Archive: opensuse (1746 mails)

< Previous Next >
[SuSE Linux] Kernel 2.2.5 and masquerading. Works, but...
  • From: paulsen@xxxxxxxxxxxx (Robert C Paulsen Jr)
  • Date: Sun, 4 Apr 1999 21:51:25 -0500
  • Message-id: <99040422015300.00416@home>



Yes, I have it working but...

I use the script below to start masquerading on my freshly installed 2.2.5
kernel (on SuSE 6.0) and it seems to be working OK.

But I would like to get it working the "right way" using the boot scripts in
/sbin/init.d. I see that the ipfwadm script checks for ipfwadm vs. ipchains for
accounting but the masquerade script has ipfwadm hard coded and doesn't
appear to understand ipchains. Am I missing something? Is there another
rpm package I should download?

===============[ my script ]=================================
#!/bin/sh
#
IPFDIR=/sbin
$IPFDIR/ipchains -P forward DENY
$IPFDIR/ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0
$IPFDIR/ipchains -M -S 900 120 300
==========================================================

____________________________________________________________________
Robert
Paulsen <A HREF="http://paulsen.home.texas.net";><A HREF="http://paulsen.home.texas.net</A">http://paulsen.home.texas.net</A</A>>
paulsen@xxxxxxxxxxxx


--
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/";><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the
archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html";><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>


< Previous Next >
Follow Ups