I have read this:
Port forwarding on Linux without iptables?
I have a vps and I have ran lxc containers on it. I want to redirect all incoming traffic from one outside port to one port of a container (for example 190.23.43.54:80 to 10.10.230.33:8000)
I want to redirect all the traffic not just TCP or UDP or whatever. I dont want to choose which protocol to use, I want a tool to redirect them all.
I have tested redir
and heared that socat
does all but only one protocol at a time.
Is there any tool that does what I want?
Can socat
be configured in such a way it can literally mirror ports to each other?