I am trying to reroute ports on a specific IP. Is there any way around this without using iptables?
I am using node.js & socket.io as a real time server. To ensure this server is available from all networks (which have strict security controls over port traffic), it has dedicated IP. This means it can use port 80 which is allowed in the majority of networks.
This has caused a second problem. Some anti virus software blocks this traffic on port 80. I have found that the best port to use is 4000.
I want to have two connection options for the client. Port 80 will be the default and if this fails it will use 4000. I then need to able to reroute port 4000 back to port 80 for both ports to use the same node.js server.
I have tried to use iptable to reroute this port but my VPS provider does not support NAT modules for iptables. They also cannot change the kernel to support this.
What are the other options available?