/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Jamin Collins wrote:

> raf [mailto:[EMAIL PROTECTED]] wrote:
> > > I just installed ipmasqadm on my RH 7.1 machine.  I have 
> > > these three lines added into my firewall:
> > > 
> > > /usr/sbin/ipmasqadm portfw -f
> > > /usr/sbin/ipmasqadm portfw -a -P tcp -L 24.91.160.109 113 
> > > -R 192.168.0.3 113
> > > /usr/sbin/ipmasqadm portfw -a -P udp -L 24.91.160.109 113 
> > > -R 192.168.0.3 113
> > > 
> > > when I execute my firewall script I get this:
> > > 
> > > portfw: setsockopt failed: Invalid argument
> > > portfw: setsockopt failed: Invalid argument
> > > portfw: setsockopt failed: Invalid argument
> > > 
> > > why do I get this and how do I fix it???
> > > 
> > > thx,
> > > Dave
> > 
> > you're kernel may not be configured correctly.
> > have a look right down the bottom of fwup.org/firewall.policy
> > to see what kernel parameters yuo need to set.
> 
> RH 7.1 comes with a 2.4.2 kernel.  IIRC, while it provides backward support
> for most ipchains stuff, it will not work with ipmasqadm (I could be wrong
> here).  I would suggest moving your firewall from ipchains to iptables.
> 
> Jamin W. Collins

you're correct (the ipchains backwards compatibility module only does ipchains)
and iptables can do whatever ipmasqadm can do.

raf

_______________________________________________
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.

Reply via email to