I run a small home office and I have multiple public IP addresses for accessing my servers. I like to setup port forwarding rules to associate a different public IP with a different internal server. I having been using Tomato for a couple of years now, and have been doing this manually using iptables commands under the Administration -> Scripts area (I define the extra public IP addresses under WAN UP, and then I add the extra iptables commands under FIREWALL).
Iptables rules are very complex to write from scratch, but creating them by hand is required as Tomato does not directly support multiple public IP addresses using the GUI. A compromise, I hope, it would be to replace the "External Port" input on the Port Forwarding rules with an "External Address:Port" . If the address was left empty, it would function the same as today and use the default (or dynamically assigned) IP address. However, if the address was provided in the GUI input then the parser would recognize and associate it in the iptables command.
To support multiple public IP addresses, the administrator would now need only include the "ip addr add" command in the "WAN Up" script area.
Would this be a difficult enhancement? Do many Tomato users have multiple public IP addresses that would benefit from this?
Thanks, Tom