New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
IP:PORT remote port foward, iptables or other way?
How can i for example have this:
1.2.3.4:1111 -> remote ip and remote port (whole different server, the port 1111 in netstat -tulpen is not open)
5.6.7.8:2222 -> original ip and original port (on port 2222 is already running sofware with opened port)
when someone load 1.2.3.4:1111 it will request from 5.6.7.8:1111, is this possible? thx!
Comments
Maybe HAProxy is what you want
Thx, Will look onto it
https://www.lowendtalk.com/discussion/106977/forward-a-port-to-an-external-ip#latest
Possibly related.
You might mean this:
https://www.debuntu.org/how-to-redirecting-network-traffic-to-a-new-ip-using-iptables/
Just change the ports in the example.
I tried and none works for me, this is the way i want it:
someone load 1.2.3.4:1111it will request from 5.6.7.8:1111, but port 1111 on ip 1.2.3.4 is not open since the software running on 5.6.7.8 port 1111
thx!
If host2 isn't behind host1, you are going to need to setup a proxy.
both are different servers different providers ... which one is good proxy? i need only tcp level and non encrypted
Netcat will do just fine.
mark
it is possible using tunneling and port foward... you can pm me
Use this simple tool:
https://github.com/troglobit/redir