Questions tagged [proxy]

Device or program that stands between two or more interconnected programs/devices

3307 questions
11
votes
3 answers

SSH from A through B to C, using private key on A

These is my scenario: Host C is not accessible from A. Host B is accessible from A. Host C is accessible from B. Both B and C have ~/.ssh/id_rsa.pub (from A) in authorized_keys B does not have the private key (~/.ssh/id_rsa), since it would be a…
blueFast
  • 4,200
  • 13
  • 37
  • 54
11
votes
2 answers

How to set up a persistent TCP gender-changer proxy?

I have a provider (A) that wants to send us data through an incoming TCP connection. Unfortunately the consuming service (B) cannot receive inbound TCP connections. Also it does not have a static IP, another requirement. One way to solve this would…
dtech
  • 633
  • 2
  • 10
  • 27
11
votes
1 answer

proxy_set_header not working

/etc/nginx/sites-available/default server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; root /usr/share/nginx/html; index index.html index.htm; # Make site accessible from http://localhost/ …
linux404
  • 153
  • 1
  • 2
  • 9
11
votes
2 answers

nginx use proxy cache if backend is down

I need to nginx proxy use cache if backend server down: this is my configuration. but seems be nginx use cache without check backend server. http { # ... proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; …
11
votes
1 answer

Is it possible to configure proxy setting through dhcp?

I have a small LAN with 12 devices connected to it, ubuntu box running dnsmasq acting as a dhcp server and another ubuntu box acting as a web proxy. Is it possible to configure all of the devices in the network through the dhcp server to use this…
Gray
  • 211
  • 1
  • 2
  • 3
11
votes
2 answers

Nginx as s3 proxy with private buckets

I'm trying to set up Nginx as a proxy for a static html/js webapp hosted on S3. I read a lots of tutorials and posts and I could make it work if my bucket is set as public. The reason I need Nginx as a proxy is that I don't want my bucket to be…
emas
  • 211
  • 1
  • 2
  • 5
11
votes
1 answer

Direct several subdomains to a single backend with haproxy

I'm using haproxy to direct route for several applications running on a single server. For one of the domains in use there are several dozens of subdomains that should be directed to one of a few applications. Currently, I list all of those…
Hubert OG
  • 225
  • 1
  • 2
  • 6
11
votes
1 answer

Internet Explorer 9 & 10 Group Policy Preferences missing

I have a single Domain Controller network (Windows Server 2008 R2, running on the 2003 Forest/domain level), with the clients currently migrating from WinXP Pro to Win7 Pro. I Need to control the Proxy settings of Internet Explorer: I've built a…
Dave
  • 427
  • 2
  • 8
  • 16
11
votes
1 answer

Why does Nginx's proxy_intercept_errors directive require a rewrite to work properly?

Following is a sample Nginx server configuration. Without the "magical talisman" location block, proxied error content results in an Nginx 404 page rather than the customized error page being served. Removing the proxy_intercept_errors directive…
Aubrey Falconer
  • 313
  • 1
  • 2
  • 6
11
votes
2 answers

Why is nat required when proxy is enough?

My machine is connected in a local lan. to connect to the internet the traffic goes through proxy server. my understanding of proxy server is that it sends the request on behalf of the original request sender. So when the server replies, it sends…
Ashwin
  • 307
  • 1
  • 4
  • 13
11
votes
3 answers

SSH through a SOCKS Proxy? (client = OpenSSH OS X)

I'm not sure if this question is best suited here on ServerFault or over on SuperUser. Thinking about it logically I think this is a sysadmin question, so I'm putting it here, and if the mods think it should move, then apologies for guessing…
Bart B
  • 3,457
  • 6
  • 31
  • 42
10
votes
1 answer

How do I make protocol foo hostname-aware?

This is a canonical question about hostname-awareness and proxying. I know that some protocols are hostname-aware; that is, when I connect to the HTTP server at www.example.com it knows I want www.example.com's HTTP service, not www.example.net's,…
MadHatter
  • 79,770
  • 20
  • 184
  • 232
10
votes
4 answers

Load balancing using IIS7 request routing and load balancing module

Microsoft has a lot of documentation about their somewhat new load balancing and request routing module for IIS7 located here: http://blogs.iis.net/bills/archive/2009/02/16/iis7-request-routing-and-load-balancing-module-released.aspx, but I'd like…
Geoff Dalgas
  • 2,476
  • 5
  • 31
  • 32
10
votes
4 answers

How can I make docker-compose pull images using a socks5 proxy?

I'm trying to pull images through a socks5 proxy. I've started the socks5 proxy on port 8888 like this: ssh -NC -D 8888 parham@***.***.** However, when I run docker-compose like this, it is evident that it's not using the environment variable: $…
Parham Doustdar
  • 201
  • 1
  • 2
  • 6
10
votes
2 answers

How to redirect outdated browsers with NGinx map?

We have an NginX balancing proxy in front of our web application. Unfortunately there is not enough development resources to support outdated browsers, yet :( We want to redirect members of our web project to /outdated page by their browser…