Hi OMV Gurus,
I'm trying to limit the upload rate of the proftpd server on my OMV box.
Trying to achieve exactly this:
https://forum.openmediavault.o…e-ProFTPd-service-itself/
By following this guide:
https://www.cyberciti.biz/faq/…ng-ftp-server-port-21-22/
How would I go about adding this section to iptables in OMV?:
Code
/sbin/iptables -A POSTROUTING -t mangle -o eth0 -p tcp -m multiport --sports 21,40000:41000 -j MARK --set-xmark 101
/sbin/iptables -A POSTROUTING -t mangle -o eth0 -p tcp -m multiport --sports 21,40000:41000 -j RETURN
The OMV WebUI doesn't seem to cater for such rules...
If the guide(s) are out-dated here and there is a better way to implement these Traffic Control rules feel free to suggest a better way.
Thank you,
Lindsay