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 ...
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 ...
0
votes
3answers
2k views

Trouble Letting Users Get to Certain Sites through Squid Proxy [closed]

We have Squid running on a RHEL server. We want to block users from getting to Facebook, other than a couple specific sites, like our organization's page. Unfortunately, I can't get those specific ...
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 ...
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
5
votes
2answers
4k views

Nginx (for static files) and Apache (for dynamic content)?

So, my entire application runs on apache just fine. However, I want to test how much the requests per second increases if I put all static files through nginx instead. I found this thread: ...
2
votes
4answers
2k views

Where to find and how to block blacklisted IPs and proxies?

Good day everyone! I'm looking for a way to block incoming requests from blacklisted IPs and proxies (mostly anonymous) to my server. While it's quite obvious how to do it using Apache config the ...
1
vote
2answers
214 views

Username based SSH proxy

I'm trying to mux between two ssh servers based on incoming username i.e. ssh user1@testserver will go to one sshd instance and user2@testserver goes to another. Can this be done?
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 ...
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 ...
5
votes
2answers
3k views

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would ...
2
votes
2answers
3k views

Squid Proxy Server: limit total bandwidth

We have a marvellous squid proxy with dansguardian for filetering and they both work just great. Is there any easy way to limit the total bandwidth usage? I'd like to set the max amount of squid users ...
3
votes
1answer
3k views

How to create UDP proxy using iptables

I have a server running UDP server on port 50000. This server receives updates from clients, and pings back the clients every 5 seconds to the socket they were connected from. Now I want to redirect ...
2
votes
1answer
3k views

How to use Apache to proxy from subfolder to other server

Given the following url: domain.com/wiki/ I'd like apache to redirect all requests below that (so domain.com/wiki/*) to otherdomain.com:8080/. But the trick is I want the user to always see ...
1
vote
3answers
3k views

proxy script does not work when two networking cards are connected. How to fix this?

I have deployed a wpad.dat. Works like a charm except for some users that are connected to two networks at the same time (ethernet and another networkadapter that emulates an analog modem for fax). I ...
0
votes
4answers
481 views

How to make proxy on nginx?

How would I set my webservers to work in way described below? Http request: mypublic.com ---> handled normally by nginx as it is set up already (listen 80;) Http request: myprivate.com ---> handled ...
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 ...
5
votes
3answers
2k views

Could this server log mean my server is being used as a proxy?

I came across the following entry in my access.log: 58.218.199.147 - - [05/Jun/2012:12:56:04 +1000] "GET http://proxyproxys.com/ HTTP/1.1" 200 183 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT ...
3
votes
1answer
1k views

Squid and Active Directory authentication

I want to integrate a Squid proxy with an Active Directory domain, so that the following is achieved: I can grant/deny access to web sites based on user accounts and/or groups. Domain users don't ...
2
votes
2answers
287 views

Proxy SSH to hide endpoints [duplicate]

Has anyone done SSH proxying that is transparent to the user, but the end host they are routed to is determined by any of the following: username, identity key, DNS hostname. I guess DNS hostname ...
1
vote
2answers
1k views

running nginx as a reverse proxy with apache

Q1) Do I need mod_deflate running on apache? does it help in performance in anyway? Q2) Do I need mod_cache running on apache if nginx is serving a static caching proxy? <IfModule mod_cache.c> ...
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 ...
3
votes
0answers
5k views

nginx as smtp proxy [closed]

I was ordered to configure nginx as SMTP proxy. That's all details I have. I've looked though some books and docs and don't see neither any examples of such configuration nor explanations of why this ...
3
votes
2answers
5k views

dnsResolve and isInNet functions Problem

We have a Proxy.pac file: function FindProxyForURL(url, host) { if (dnsResolve("ProxyServer") == "10.1.1.116") if (dnsDomainLevels(host) == 0 || isInNet(host, "10.0.0.0","255.0.0.0") || ...
1
vote
2answers
3k views

How to configure Apache to act as an SSL proxy to an application server?

I have one physical server that runs: an Apache (httpd) server another web server (let's say Tomcat for sake of argument) on port 1234 Can I configure the Apache server to act as a proxy for SSL ...
1
vote
2answers
2k views

How does IPCOP, dansGuardian and Squid work?

I would like to learn more about how the following works firewalling with IPCOP, web content filtering by Dans Guardian web caching with the Squid. I have visited their web sites but I am having ...
0
votes
1answer
73 views

nginx open reverse proxy?

Somehow, and I'm not sure how, we have configured an nginx reverse proxy that is acting as an open proxy. The log files tells us the matching requests are going against the following conf file: map ...
0
votes
2answers
43 views

Setting up different application instances under one DNS

We have a custom java web app. We are setting it up in instances in different vps (different providers, different locations). We have for example: Instance 1: http://server1/app1 Instance 2: ...
0
votes
1answer
302 views

Running Squid as an aggregating proxy

We've hired a lot of proxies from different providers which are used by our apps. This list gets changed sometimes (once in 2-3 months). To make our life easier we want to configure an aggregating ...
0
votes
2answers
894 views

FTP reverse proxying based on hostname/domain

I just set up nginx as a http/https reverse proxy and it worked well. After that, I realized that for some domains ftp services are available. I was able to install ftp.proxy and it also works well, ...
0
votes
2answers
660 views

Is it possible to filter/edit web content using Apache/Nginx/Lighttpd?

Is it possible to use any of the following HTTP servers: Apache, Nginx or Lighttpd as a proxy to make the following: Disallow certain HTTP bodies (web pages) based on their content (e. g., words) ...
0
votes
1answer
201 views

SQL server port is blocked on client machine

I have a client machine on which sql server is installed. This machine is using the internet though a proxy machine. On the proxy machine wingate is installed. I could not connect to the remote sql ...
0
votes
2answers
1k views

SSH and port forward socks proxy

I would like to setup an ssh tunnel that includes 3 machines. One machine I want to make http requests from but can only connect to a central server and outbound port 80 requests. The server is a ...
-2
votes
1answer
59 views

Need apache to proxy subdirectory to another service

I have a website running on Apache, at 192.168.1.90:80 for xxxxxxxxx.com I also have a reddit instance running at 192.168.1.90:8001 for reddit.local I have been trying to proxy the url ...
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/ ...
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 ...
3
votes
7answers
16k views

How to setup equivalent USVIDEO.ORG DNS-Proxy on Linux

I have a VPS in the USA running Ubuntu. I want to setup something similar to http://www.usvideo.org Basically, USVIDEO is a DNS service that allows Canadians to access American content like Hulu, ...
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 ...
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: ...
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 ...
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
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: ...
3
votes
3answers
12k views

Configuring OpenLDAP as a Active Directory Proxy

We try to set up an Active Directory server for company-wide authentication. Some of the servers that should authenticate against the AD are placed in a DMZ, so we thought of using a LDAP-server as ...
2
votes
1answer
2k views

nginx reverse proxy slows down my throughput by half

I'm currently using nginx to proxy back to gunicorn with 8 workers. I'm using an amazon extra large instance with 4 virtual cores. When I connect to gunicorn directly I get about 10K requests/sec. ...
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 ...
3
votes
3answers
910 views

Non-IE browsers wont auto-authenticate

We're considering offering Safari (windows), Chrome, Firefox and Opera as optional browsers in our 2500 person organisation. I'm just testing them out now and where IE auto-authenticates with our ...
2
votes
13answers
11k views

What free options are available for web content filtering? [closed]

I run the IT Dept at a small high school with about 500 users on the network. We have been using SurfControl for this which has been handy because it backs into MS ActiveDirectory very well. We ...
6
votes
1answer
9k 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 ...