Answer the question
In order to leave comments, you need to log in
Is it possible to eliminate 502 gateway?
Hello, there is a program that sends a get request to the address 1.1.1.1/info.php and receives parameters for work, info.php is written on hosting 2.2.2.2, the tmeter program is used to redirect packages, which changes packages on the fly by changing the destination ip of outgoing packets from 1.1.1.1 to 2.2.2.2 and the incoming source ip from 2.2.2.2 to 1.1.1.1, but when we execute a get request to 1.1.1.1 we get a 502 bad gateway error, tell me how can I fix the problem?
Answer the question
In order to leave comments, you need to log in
fix - tmeter'a settings, if possible in principle,
look at the logs and headers on all sides
throw out tmeter, install a web server, for example nginx, and use it to do forwarding. in this case, the proxy will save)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question