Hmmm... I am sure that this is something that would be useful to others, if only (sigh) we could get a FormMagick / rpm guru involved to create a sme-redir rpm and a configuration panel. Are there any SME gurus out there willing to spend an hour or so on doing this? it would be a nice addition to SME 7.x, particularly if it also opened the specified ports without needing the port-opening contrib.
Peter
Don't need a guru, I can build the panel, package, etc.

(have done a couple, but am certainly NOT a guru). It is more when, as I'm just a little busy at the moment.
You don't have to use FormMagick, you can use perl, but it should be easier with FormMagick, once you know how....
I have a couple of issues
1. the best way of opening/closing the ports, and
2. the best way to store the port pairs.
Not exactly sure the best way to open the ports and a little worried about the closing the ports when you disable a redir, in case it was wrongfully set or an important port. May need a 'Do you want to also close the port?' query on the panel...
I was thinking I might need a sepearte config database with a line per pair (called redir?):
<name>|status|<enabled|disabled>|External_Port|<external port>|Internal_Port|<internal port>
example:
smtp|status|enabled|External_Port|2525|Internal_Port|25
http|status|enabled|External_Port|8080|Internal_Port|80
Anyway, need the basics first. So off scripting I go and then panel building....
Trevor B