I have a UDM PRO 192.168.1.1 running ShadowSocks on 192.168.1.1:1080.
Here is what I am trying to do.
I would to know the IPTABLES rules for a computer on my network 192.168.1.100 to route all traffic to the ShadowSocks Server. Eg. All traffic from my computer should only go to the ShadowSocks Server.
I would like to send traffic on a particular port say 5036 to the ShadowSocks Server. This means that any device on this network that tries to use 5036 should get routed to the ShadowSocks server. Eg. Any device on my network using a particular app should be routed to the ShadowSocks Server.
I am trying to apply these rules to the UDM PRO IPTABELS via SSH.