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

learn more… | top users | synonyms (1)

113
votes
13answers
113k views

How to set up Nginx as a caching reverse proxy?

I heard recently that Nginx has added caching to its reverse proxy feature. I looked around but couldn't find much info about it. I want to set up Nginx as a caching reverse proxy in front of ...
30
votes
4answers
31k views

Configuring Apache2 to proxy WebSocket?

The WebSocket protocol is an extension of the HTTP protocol. However, the proxy module of Apache2 does not seem to know about it, and throws away crucial headers, converting the call to a standard ...
23
votes
4answers
275 views

Can any of the popular IM networks work like this?

Joe, Jack and Jill use IM as a communication medium among themselves in Company A, where they work, and with customers and partners around the world. No goofing off here -- it's a legitimate work ...
23
votes
2answers
44k views

Apache ProxyPass with SSL

I want to proxy requests from an SSL site via a non-SSL site. My Apache httpd.conf looks like this: <VirtualHost 1.2.3.4:80> ServerName foo.com ProxyPass / https://bar.com/ ...
20
votes
6answers
14k views

How can I set proxy for subversion with ssh tunnel?

I want to check out/update the code via proxy since my local connection is slow. I setup ssh tunnel : ssh -D 8090 user@ssh.proxy.net to forward all the packets to my localhost:8090. How can I set up ...
16
votes
8answers
20k views

How to inject HTML code into every delivered HTML page?

I've got an Apache web server that delivers static HTML pages. For some reason I can't change the files themselves, but I still want to inject some HTML into every page that is being served. Is this ...
15
votes
2answers
29k views

Nginx Redirect via Proxy, Rewrite and Preserve URL

In Nginx we have been trying to redirect a URL as follows: http://example.com/some/path -> http://192.168.1.24 where the user still sees the original URL in their browser. Once the user is ...
15
votes
3answers
436 views

Info on Providing Proxy Servers to Iranian Dissidents?

Does anyone know of efforts to provide proxy servers to Iranian dissidents? I would like to help. Caveats: I am a networking newbie with some underused hardware of lightweight capability, so I don't ...
14
votes
7answers
55k views

Apache VirtualHost with mod-proxy and SSL

I am trying to setup a server with multiple web applications which will all be served through apache VirtualHost (apache running on the same server). My main constrain is that each web application ...
12
votes
10answers
5k views

Block Facebook for selected users

We have a few users here who are using Facebook during working hours and their productivity is through the floor, as a temporary measure I have remotely edited their hosts files to point facebook.com ...
12
votes
7answers
23k views

How can I disable encryption on openssh?

I'm having performance problems using openshh(server) and putty(client) combination to use a remote webproxy. I'd like to disable encryption and test the results to see if it makes a difference. How ...
12
votes
2answers
11k views

Proxy exceptions when using $http_proxy env var? [closed]

In a typical browser, when we set a proxy server, we can define a list of hostnames/IP addresses that are not to use the proxy server. How do we accomplish the same thing when using $http_proxy? I ...
12
votes
1answer
590 views

haproxy: retain existing sessions under high load, serve '503' to new arrivals

Trying to do what it says in the title: retain existing sessions under high load, and serve 503-message to newly arrived visitors. Problem: it works, but the sessions don't last beyond about 90 ...
11
votes
8answers
4k views

How can I download an executable file inside the company network when it's been locked down?

This might seem like a silly (or nefarious) question at first glance, but allow me to elaborate... We have implemented all sorts of measures on the company network and proxy to prevent the download ...
11
votes
3answers
14k views

How to use nginx to proxy to a host requiring authentication?

How can I setup an nginx proxy_pass directive that will also include HTTP Basic authentication information sent to the proxy host? This is an example of the URL I need to proxy to: ...
10
votes
2answers
13k views

How to divert traffic based on hostname using HAProxy?

I've had some initial success with HAProxy setting up a bunch of app servers listening on various other ports. I now have another webserver listening on one port, and i'd like to what changes to make ...
10
votes
3answers
9k views

Using Supermicro IPMI behind a Proxy?

This is a SuperMicro server with a X8DT3 motherboard which contains an On-board IPMI BMC. In this case, the BMC is a Winbond WPCM450). I believe many Dell servers use this a similar BMC model. A ...
10
votes
5answers
6k views

How to duplicate TCP traffic to one or multiple remote servers for benchmarking purposes?

Infrastructure: Servers in Datacenter, OS - Debian Squeeze, Webserver - Apache 2.2.16 Situation: The live server is in use by our cusotmers every day, which makes it impossible to test ...
10
votes
4answers
60k views

How do I configure proxy settings for LOCAL SYSTEM?

If I edit Proxy Settings through the Control Panel, the settings are stored in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable and ...\ProxyServer. These ...
10
votes
4answers
3k views

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: ...
9
votes
1answer
2k views

How to avoid restarting Apache proxy when you restart CouchDB

I'm running a localhost CouchDB instance using CouchDBX on my Mac, proxied behind Apache 2 using the ProxyPass directive: <VirtualHost *:80> ServerName playlick # points to localhost in ...
9
votes
6answers
946 views

When/why to use a web proxy/gateway?

Right now we have about a 25-30 PC network, connected to the internet with a run-of-the-mill SonicWall Firewall/Router device. There isn't much filtering / blocking other than outgoing SMTP (for ...
9
votes
3answers
5k views

NGINX as http proxy server (not reverse proxy) [closed]

Is it possible to use nginx as ordinal http/https proxy? (not reverse http proxy) UPDATE: Yes, i know about squid/oops/tinyproxy/etc. Please do not answer if you dont know answer to question (or just ...
9
votes
1answer
7k views

Apache httpd error “proxy: ap_get_scoreboard_lb” with ProxyPass

I set up apache to proxy for tomcat but I am getting the following error when I target the page. I sometimes get a blank page or a 503: [Error] [Mon Dec 03 04:58:16 2012] [error] proxy: ...
9
votes
2answers
8k views

SSH over HTTPS with proxytunnel and nginx

I'm trying to setup an ssh over https connection using nginx. I haven't found any working examples, so any help would be appreciated! ~$ cat .ssh/config Host example.net Hostname example.net ...
9
votes
5answers
16k views

PHP on Linux: How to make PHP use proxy settings to connect to internet?

my server is in a LAN and is connected to internet through a Proxy Server. my PHP application (Drupal), should be able to check for updates through PHP codes. how can i set Proxy Settings for PHP so ...
9
votes
2answers
1k views

API Management Solutions [closed]

I'm currently building an API and am looking for a tool to allow me to monitor (in a GUI) and rate-limit usage. I've come across a few enterprise solutions including: http://apigee.com/ ...
8
votes
5answers
6k views

Can I create SSH to tunnel HTTP through server like it was proxy?

Say I have a server and client. I need to create connection from client to a website through server like it was proxy. Is it possible to do this using a SSH tunel, or do I have to install some proxy ...
8
votes
3answers
39k views

Apache Proxy TimeOut

I am trying to understand what is happening with the following message in our Apache 2.2 error_log: Wed May 18 21:03:29 2011] [error] [client 172.20.10.10] (70007)The timeout specified has expired: ...
8
votes
2answers
13k views

Akward delay to connect Apache's proxy request to a node.js App

In my Ubuntu Server 10.04 I'm running an example node.js app: var http = require("http"); function onRequest(request, response) { console.log("Request received."); ...
7
votes
5answers
15k views

Easy TCP proxy on Windows? [closed]

What I want is to configure a computer in home with Windows and use it as a TCP proxy for connect and route packets from the 80 to port 23 in another server in the Internet
7
votes
5answers
13k views

Will a reverse proxy in front of web server improve security?

Third-party security professional is recommending we run a reverse proxy in front of the web server (all hosted in the DMZ) as a best practice security measure. I know this is a typical recommended ...
7
votes
11answers
47k views

Internet Explorer isn't auto-discovering http://wpad/wpad.dat auto-config

I am being driven to frustration by this problem. I have set up a file called wpad.dat (essentially, a proxy.pac file renamed) and put it on an internal web site. I've set up DNS entries so host name ...
7
votes
2answers
982 views

ISP grade Proxy

We are a ISP in Africa (bandwidth is expensive, more than 800 USD per Mbit). Instead of investing in more bandwidth I believe it can be worthy to invest on web proxy appliance. I prefer to use mature ...
7
votes
4answers
28k views

ubuntu set system proxy from command line

Using server version of 10.4 beta 2 Need to to set the proxy that the system needs to use Thanks
7
votes
1answer
3k views

mod_rpaf problems with Nginx front, Apache back-end after Ubuntu upgrade

I'm running an Nginx front-end for static files, and proxying to an Apache backend for PHP and Passenger, using Apache's mod_rpaf to set the correct remote IP address on the backend. Everything worked ...
7
votes
1answer
2k views

Linux support for proxy PAC files

My corporate environment is setup with a proxy blocking external internet access and requiring NTLM authentication. Internal addresses will not be routed be the proxy and must be accessed directly. ...
7
votes
1answer
1k views

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 ...
7
votes
2answers
757 views

nginx proxy retry while backend is restarting

Nginx returns 502 while the backend is restarting. How can I make nginx proxy retry N times with M seconds delay? Is there a plugin or something else?
7
votes
1answer
29k views

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 ...
6
votes
3answers
9k views

tinyproxy authentication

I am confused as to how to set up username/password restrictions on tinyproxy (so that not all the world can access it - ip alow/block has limited use in my setup). Any pointers? Thank you!
6
votes
2answers
17k views

How to prevent squid from caching and just filter?

I have set a proxy server on my network. I only want to filter the web traffic. So, I have Squid as a proxy and Qlproxy as the filter : http://www.quintolabs.com/qlicap_info.php My server have only ...
6
votes
4answers
3k views

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

I'm looking for a simple way to SSH from my local machine, A, through a proxy, B, to a destination host, C. The private key that goes with the public key on C is on B, and I can't put that key on my ...
6
votes
2answers
2k views

SSH through multiple hosts using ProxyCommand?

I have an entry in ~/.ssh/config on my computer at home that look like this: host foo bar ProxyCommand ssh -x -a -q gateway.example.com nc %h 22 where gateway.example.com is a server at work ...
6
votes
1answer
11k views

Proxy mail to different smtp server with Postfix

How can I forward (or proxy) mail to different smtp servers depending on the To address? I've got one machine with an SMTP (postfix) server listening on port 25. I want to use Lamson ...
6
votes
1answer
3k views

Nginx : strip header on HTTP, add header on HTTPS

I'm configuring an Nginx server so as to serve as a reverse proxy to serve a Django app (run on Gunicorn). My problem is that I want my site secured with HTTPS, and so I want my Django app to be able ...
6
votes
4answers
3k views

Can I disable interactive shell access while tunneling web traffic through SSH?

I am looking into implementing SSH tunneling as a cheap VPN solution for outside users to access Intranet-only facing web applications. I currently am using Ubuntu Server 10.04.1 64 bit with OpenSSH ...
6
votes
2answers
418 views

What effect does https traffic have on web cache proxy servers?

I just took two university courses on computer security and internet programming. I was thinking about this the other day: Web cache proxy servers cache popular content from servers on the web. This ...
6
votes
1answer
5k views

Proxy with netcat forever

I am proxying a VNC TCP server port with netcat. The proxy machine runs linux. This is the comand I use: mkfifo backpipe nc -l 5902 0<backpipe | nc 10.1.1.116 5902 1>backpipe 10.1.1.116 is ...
6
votes
6answers
2k views

Simulate company proxy for users that take laptops home

My company uses an HTTP Proxy, so I had to configure several config-files of my tools to access the internet via the the Proxy. When users are at home, they won't be able to use that proxy (except ...