A
A
Artem2018-03-03 02:12:56
Computer networks
Artem, 2018-03-03 02:12:56

Change IP in query string?

Hello!
There is some client application which is started under Windows. It makes HTTP requests to the server using an IP as the URL, not a domain name.
You need to change this IP. It is possible to install additional software (proxy?).
Important: the application does not provide for setting up a connection through a proxy, so please explain how to make the application go to a different address.
Those. needed:
GET 1.2.3.4/example replaced with GET 4.5.6.7/example.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kisaa, 2018-03-03
@kisaa

You need a Linux router, squid is in transparent mode on it, url_rewrite rules are configured in squid (usually through external modules) - you can do anything there.

R
rll, 2018-03-05
@rll

You can specify in the hosts file what to redirect where.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question