T
T
Talik2018-04-02 17:34:11
System administration
Talik, 2018-04-02 17:34:11

How to proxy requests using network proxy?

There are Linux machines that do not have access to the external network because they cannot get authorized.
There are Windows machines entered into the domain and having the ability to access the external network under the user.
nginx is up on one of the windows machine

server {
        listen       80;
        server_name  host1;

        proxy_set_header HOST $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        location / {
            proxy_pass http://host2.com;

        }

with this configuration, all requests are sent to the proxy network and are cut to it, without passing further.
You need to proxy requests from Linux machines through a Windows machine using a network proxy.
Is it possible? and how can it be done? any solutions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2018-04-02
@CityCat4

Maybe it's easier to pass authorization? Or to register IP linukhs in proxy exceptions?

P
pfg21, 2018-04-02
@pfg21

run 3proxy or use simple and fast proxies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question