/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Finally I had to change 'inet addr' to 'inet adr'. I
don't know if it is specific to my version of ifconfig
in RedHat 7.2, but may be it would be worth noting in
the FAQ of the HOWTO.
Thanks a lot for all your help!
Olivier
--- David Ranch <[EMAIL PROTECTED]> a �crit�: >
> >EXTIP="`$IFCONFIG $EXTIF | $GREP 'inet addr' |
> $AWK
> >'{print $2}' | \
> >$SED -e 's/.*://'`"
>
> That should be two lines or better yet, one LONG
> line
> without the "\" character.
>
> EXTIP="`$IFCONFIG $EXTIF | $GREP 'inet addr' | $AWK
> '{print $2}' | $SED -e
> 's/.*://'`"
>
>
> >I also get a little error in the script
> > - Loading OUTPUT rulesets
> >/etc/rc.d/rc.firewall-2.4-stronger: -d: command
> not
> >found
>
> Check for line-wrapping.
>
>
> >Finally is there an Howto or a good resource about
> >IPTABLES? I find much more documentation about
> >IPCHAINS and IPFWADM.
>
> www.netfilter.org. This is referenced in the
> IPMASQ howto.
>
> --David
>
.----------------------------------------------------------------------------.
> | David A. Ranch - Linux/Networking/PC hardware
> [EMAIL PROTECTED] |
> !----
> ----!
> `----- For more detailed info, see
> http://www.ecst.csuchico.edu/~dranch -----'
>
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.