Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Pat Erler on February 06, 2003, 10:13:13 PM
-
hi!
i need to open up some additional ports on my SME 5.6 box, what is the correct place in the /etc/e-smith/templates/etc tree to place these modifications into, so that they become permanent?
regards,
PAT
-
Hi Pat,
on SME5.5 its /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
Regards..René
-
rene wrote:
> on SME5.5 its
> /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
thanks, in 5.6 appearently to..
could you help me a bit more by telling me how i should handle
the $variables (like $oidentd in 45AllowAUTH for instance).
should i just rename them to variable names i find appropriate
(say $daytime for port 13?)
would a 45AllowDaytime then look like this?
{
my $status = $daytime{status} || "disabled";
my $access = $daytime{access} || "public";
$OUT = allow_tcp_in(13,
($status eq "enabled") && ($access eq "public"));
}
btw, what is the command to expand these scripts and apply them to the current configuration without reboot?
thanks in advance...
regards,
PAT
-
You have just to type :
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
@+
..::TT25::..