I am trying top run ftp services on non standard ports.
I wonder is there any limit in ROS? And what is the correct approach?
I want to run ftp service in the following ports
port 711 -> to host 1
port 721 -> to host 2
port 731 -> to host 3
port 741 -> to host 4
port 751 -> to host 5
NAT rules are defined with
12 chain=dstnat action=dst-nat to-addresses=192.168.10.2 to-ports=21 protocol=tcp in-interface=ether1-gateway dst-port=711 connection-type=ftp
I have a feeling that I need to define ports 711,721,731,741,751 as a service port or it is enough for correct NAT-ing that I define connection-type=ftp?
> ip firewall service-port print Flags: X - disabled, I - invalid # NAME PORTS 0 ftp 21 1 tftp 69 2 irc 6667 3 h323 4 sip 5060 5061 5 pptp
Earlier, using iptables the correct module load took care of it:
What would be the equivalent in ROS language?
modprobe nf_conntrack_ftp ports=21,711,721,731,741,751
Any help would be appreciated.
Thank you in advance.