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

learn more… | top users | synonyms (1)

124
votes
12answers
128k 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 Apache/...
39
votes
4answers
44k 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 ...
37
votes
2answers
71k 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/ </...
26
votes
2answers
73k 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 ...
23
votes
4answers
283 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 tool....
22
votes
6answers
16k 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 ...
19
votes
10answers
27k 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 ...
19
votes
7answers
74k 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 ...
18
votes
5answers
6k 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 ...
18
votes
7answers
30k 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 ...
16
votes
2answers
14k 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 ...
15
votes
3answers
31k 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: http://username:...
15
votes
3answers
442 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
6answers
13k 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 ...
14
votes
5answers
89k 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 ...
13
votes
2answers
21k 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 ...
13
votes
5answers
40k views

What is a good SQUID Logs Analyzer? [closed]

Can anyone recommend me a good tool for analyzing squid logs ? I'm currently using SARG. Is there something better? I need to easily see what sites were visited/denied, when and by whom. There is ...
12
votes
10answers
6k 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
1answer
9k 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 ...
12
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 /...
12
votes
1answer
766 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
6k 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
7answers
19k 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 ...
11
votes
1answer
24k 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 ...
11
votes
3answers
12k 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 ...
11
votes
3answers
60k 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: ...
11
votes
3answers
10k 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 ...
11
votes
2answers
15k 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."); response....
11
votes
2answers
12k 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 ...
10
votes
5answers
21k 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
10
votes
5answers
15k 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 ...
10
votes
3answers
12k views

Nginx location regex doesn't work with proxy pass

I'm trying to get these 2 location directives working in Nginx but I'm getting some errors back when booting Nginx. location ~ ^/smx/(test|production) { proxy_pass http://localhost:8181/...
10
votes
2answers
19k views

Remote Desktop over SSH SOCKS proxy to bypass firewall [closed]

I'm trying to connect to a Windows server from my Mac using RDC2.1 for Mac. The problem is the server I need to connect to is guarded by the evil dragon - IP-based access control on a completely ...
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: http://blogs.iis.net/bills/archive/2009/02/16/iis7-request-routing-and-...
10
votes
3answers
63 views

Best practice for proxying package repositories

I have a collection of CentOS servers in my corporate network. For security reasons, most servers do not have general outbound internet access unless it is a core functional requirement for the server....
10
votes
2answers
8k views

Why does sub_filter seem to not work when used in conjunction with proxy_pass?

Given the following configuration of nginx: server { listen 80; server_name apilocal; sub_filter "apiupstream/api" "apilocal"; sub_filter_once off; location /people/ { ...
9
votes
11answers
56k 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 ...
9
votes
6answers
975 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
1answer
14k views

Difference beetween DNAT and REDIRECT in IPTABLES

Okay, it may be because I am dense or maybe just not finding the right source, but I can't understand why one of these IPTABLES setups would be better than the other. Here is my setup: I have a box ...
9
votes
1answer
9k 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
5answers
20k 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/ http://...
9
votes
1answer
40k 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 ...
8
votes
3answers
3k 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 ...
8
votes
1answer
14k 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 (http://...
8
votes
5answers
35k views

Help me understand how to use ProxyPass

UPDATE: I added a revised question after playing around with it two answers below. Hi there, If you're reading this you're probably familiar with Apache's mod_proxy and its ProxyPass function. Like ...
8
votes
2answers
32k views

Nginx proxy_read_timeout vs. proxy_connect_timeout

I've started using Nginx as a reverse proxy for a set of servers that provide some sort of service. The service can be rather slow at times (its running on Java and the JVM sometimes gets stuck in "...
8
votes
1answer
4k 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 ...
8
votes
2answers
1k 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 ...
8
votes
2answers
2k 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 ...