Thanx,
but it is meant for port 80 only as it seems, or am I wrong...
Just insertion of the rules?
PS:
REMOTENET from pmfirewall seems to be OUTERNET from E-Smith.
OUTERIF does exist for both.
Strange: pmfirewall did retrieve the dyn ip but did not the forwarding...? The file locations are the same, still got a warning which i could not solve? Other wise pmfirewall is easy in adapting ports....
45AllowHttp:
==========
{
local %services = ( 'httpd-e-smith' => ${'httpd-e-smith'} );
my $status = db_get_prop(\%services, 'httpd-e-smith', 'status') ||
"disabled";
my $access = db_get_prop(\%services, 'httpd-e-smith', 'access') ||
"public";
if ( ($status eq "enabled") and ($access eq "public") )
{
$OUT .= <<'HERE';
/sbin/ipchains --append input -p tcp -s 0/0 -d $OUTERNET 80 -j ACCEPT
/sbin/ipchains --append output ! -y -p tcp -d 0/0 -s $OUTERNET 80 -j ACCEPT
HERE
}
}