I want to redirect all ports from VPN server to one of VPN client (except the SSH-5656 port and OpenVPN port-5757).
I know this command:
iptables -A FORWARD --proto tcp -p 1-5655 -j DSTNAT -d 10.8.0.x
But I don´t know, how to redirect more ports with one command.
For example: I want to redirect ports from 1-5655 to client 10.8.0.2 (TCP + UDP) and then I want to redirect 5657-5756 & 5758-65535 (both protocols) to the same OpenVPN client.
Can you please help me with that?