Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Magnus on October 07, 2003, 11:54:15 PM

Title: open a port!
Post by: Magnus on October 07, 2003, 11:54:15 PM
How do i open one single port on sme 6b3...  


Thanx
Title: Re: open a port!
Post by: Joe on October 08, 2003, 12:32:57 AM
Have you even bothered to look as this was answered TODAY in the expericed forum by one of the SME developers!

You'll  be able to get your answer so much quicker if you looked instead of waiting!!
Title: Re: open a port!
Post by: Magnus on October 08, 2003, 06:15:51 PM
Yes some.. but i dont want to forward a port.. i want to open one port in e-smith for traffic...
Title: Re: open a port!
Post by: Joe on October 08, 2003, 07:10:58 PM
Yes and that is what that post was about port OPENING

Quote from POST about with subject "SME 6.0b3 - port OPENING"

Author: Michael Soulier (michael_soulier_AT_mitel.com)
Date:   10-07-03 08:55

Gyula Voros wrote:
>
> So, how do I open a port? ... if you don't mind including
> what file I should edit for I'd appreciate it. Thanks!

Officially, you use a custom masq fragment to open the port you need.

Something like...

mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
echo '$OUT = allow_tcp_in(, 1)' > \
/etc/e-smith/templates-custom/etc/rc.d/init.d/masq/90InboundTCP10Custom
/sbin/e-smith/signal-event remoteaccess-update

Where is the port you wish to open.

Mike



;-)

Joe