I would say that it is not off-topic
You appear to have missed my point which was that this thread is a comparison of the merits of using a D-Link home router in front of an SME Server versus simply using the SME Server in server-gateway mode directly connected to the Internet.
There are endless things you
can do to change the SME Server, including adding additional firewall scripts. But they do not exist in a standard installation and so they are not a choice most people have. A very small subset of the community has the skills to write a firewall script and we do not expect people to have such skills.
That's why server-gateway mode exists and I will state once again that I firmly believe that server-gateway is better than a home router plus server-only.
Why not set up a tread on the forum about modifications with some examples and some discussion about a firewall script for the server-only installation ?
I've asked quite a few times that you raise this in the bug tracker so we can discuss it there. The bug tracker provides the ability to attach versions of the scripts for comment and potential inclusion in releases - the forums do not. You have talked about your firewall scripts - attach them to the bug tracker entry for discussion.
The forums are not the best place to discuss critical code such as firewalling scripts. The forums provide no version control history, no method to "obsolete" attachments and no upgrade path for posted scripts. There is a very real danger that people will simply copy code from the forums and assume that it is correct. If a bug is found, what then?
By the way one main reason that I use the server-only alternative in my home is that my isp deliver a adsl conection with only one alternative, a nat router. (Well I have modified it to run in bridge mode as well, but that's a hack.) I think that there is a lot of users that does not have the alternative to receive the external ip to the sme box at all.
And one way to deal with that problem is to have a configuration setting which lets the server know the pre-NAT IP address. Then you could use the SME Server in server-gateway mode behind your NAT router. And better still would be to automatically determine what the pre-NAT address is by querying some external box which can tell you what they see as your source address,