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

[cobalt-security] Ipchains



Hello

I'm trying to tighten my ipchains rules but not having too much
success. I am running the administration panel and ssh in the
firewall as denied for everyone except my static IP address which
has unlimited access. However I would like to restrict this
further and give the static address access to only ssh,admin
panel. This is what I have (ip changed)

$IPCHAINS -A input -p tcp -s ipaddress/255.255.255.248 -d
$OUTERNET 444 -i $OUTERIF -j ACCEPT -l

$IPCHAINS -A input -p tcp -s ipaddress/255.255.255.248 -d
$OUTERNET 81 -i $OUTERIF -j ACCEPT -l

$IPCHAINS -A input -p tcp -s $REMOTENET -d
ipaddress/255.255.255.248 90 -j ACCEPT -l

Any help is appreciated.

Jon