Questions tagged [proxy]

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

3307 questions
23
votes
1 answer

Redirect a subpath to a external host with Nginx

I need to create a quite simple map in Nginx redirecting a subpath to another server that is located in the same subnet. Nginx server: 192.168.0.2 Tomcat server: 192.168.0.3:8443 I tried to put this in the server section location /tomcatapi/…
carlo.polisini
  • 335
  • 1
  • 3
  • 7
21
votes
5 answers

Easy TCP proxy on Windows?

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
victor hugo
  • 588
  • 3
  • 8
  • 16
21
votes
3 answers

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 that is serving as a transparent proxy and a router…
QWade
  • 917
  • 1
  • 11
  • 17
20
votes
1 answer

how to make squid work like proxy only, without caching anything

Possible Duplicate: How to prevent squid from caching and just filter? I want to make squid work purely as a proxy, so that it does not cache anything. Is such a usage of squid possible? How do I do this? I am using v3.1 of Squid on Cent OS 6.2-…
Arvind
  • 501
  • 4
  • 9
  • 18
20
votes
3 answers

How to use Nginx as a HTTP/HTTPS proxy server?

Is it possible to use Nginx as a HTTP/HTTPS proxy?
vlad
  • 846
  • 2
  • 6
  • 14
20
votes
3 answers

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?
user78416
  • 301
  • 1
  • 2
  • 3
19
votes
3 answers

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 ProtocolKeepAlives 30 DynamicForward 8118 …
Thermionix
  • 917
  • 2
  • 15
  • 28
19
votes
6 answers

Is there any way to cache HTTPS requests in a proxy server?

We are using Squid proxy server in our environment and we want to cache HTTPS requests. Is there any way to configure Squid or in general a proxy server to cache HTTPS requests?
Supratik
  • 2,154
  • 10
  • 51
  • 66
19
votes
2 answers

Remote Desktop over SSH SOCKS proxy to bypass firewall

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 separate network. I have an IP I can get in on, but…
simonhamp
  • 465
  • 1
  • 5
  • 13
18
votes
4 answers

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. This creates a challenge when I need to update…
Dave Smith
  • 181
  • 1
  • 4
18
votes
2 answers

Nginx not caching data

I have a REST API behind an nginx proxy. Proxying works fine, however I am unable to cache any responses. Any help would be much appreciated: Nginx config: worker_processes 10; error_log logs/error.log; error_log logs/error.log notice; error_log…
nick_v1
  • 365
  • 2
  • 3
  • 11
18
votes
1 answer

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 to my config to flow traffic by hostname as…
Bosky
  • 315
  • 1
  • 3
  • 7
17
votes
1 answer

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 0backpipe 10.1.1.116 is the "remote" machine with the original VNC service running…
Alojz Janez
  • 473
  • 2
  • 5
  • 16
17
votes
1 answer

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 about 640MB of RAM... So, Squid cache frequently.…
THpubs
  • 1,695
  • 7
  • 26
  • 43
17
votes
7 answers

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 architecture as it provides another level of…
Darren
  • 191
  • 1
  • 1
  • 4