Hey!
I need to add 100 port forwarding firewall rules and I'd like to find a way to do so automatically or via API.
It will be a 1:1 mapping of external to internal port to a single internal IP. For example 1234 will be directed to 1234, 1235 to 1235 and so on.
Any help is greatly appreciated!
All to the same internal IP?
Yes.
Then you need just a single rule with a port range or essentially an arbitrary list of single ports and ranges. Define the ports in Firewall > Aliases.
Interesting, will check it out. Thanks!
So this worked!
For those who are wondering, you need to set "Content" to your port range, for example: 15000:15100