[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Weird IPChains on a RAQ3



On Friday 11 January 2002 01:10 pm, SM wrote:
> Hi,
>
> At 05:14 11-01-2002 +0000, WEBB cite wrote:
> >Here is the script.  IP's have been changed to protect the
> > almost-innocent. Again it seems to lock all my ports to the outside world
> > except for my IP's that I added for my machines which are marked with
> > xxx.xxx.xxx.xxx.
>
> The rules look fine.  If outer interface (OUTERIF) is not eth0, then your
> script would be using the wrong IP to accept inbound connections and cause
> the access problem you see.  I suggest that you list the actual ipchains
> input rules to see which IP is being allowed.
>
Good Point sm 
If you look in /etc/rc.d/init.d/pmfirewall there is a section called start 
firewall that ends with a line
     echo "             Done!"
I add these lines;
     echo ""
     echo "External: $OUTERIF   $OUTERNET"
     echo "" ;;
To see what the value of OUTERIF and OUTERNET are.
Then if you do /etc/rc.d/init.d/pmfirewall restart
it will print out these values.

HTH
-- 
Gerald
--
Registered Linux User 255245
Register at http://counter.li.org