All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Hosting files on local machine behind a NAT which can be accessed from public server via proxy

I have a public web server (with root access) named example.com with PHP, MySQL and Apache installed. I would like to set up a proxy on my server: My laptop will be using my public server (probably) ...
0
votes
0answers
38 views

ssh tunnel port forwarding to http_proxy

I am currently using MobaXterm to create "Dynamic port forwarding (SOCKS proxy)". I have Firefox configured to use the SOCKS proxy on the forwarded port and I am able to make HTTP requests through the ...
0
votes
0answers
32 views

Proxy (transparent) that retries on 503 errors

In a devops setting, a docker container needs to have its https traffic filtered through a retrying proxy/cache, as the requests sometimes fail due to 503 errors. It seems like squid can do this, but ...
1
vote
1answer
42 views

Proxy decrypting and serving remote encrypted resources

Imagine the following scenario: Host A serves via HTTP hello_world.jpg, which has been AES-encrypted. Host B, which acts as a proxy being aware of Host A's resources, responds to a HTTP call by ...
0
votes
1answer
125 views

Redirect all the http and https traffic throught a SOCKS proxy

I have a virutal network in VMWare with 2 virtual machines. A: Not connected to Internet but is connected to B B: Conntected to Internet and to A (interface for A is 192.168.16.2) I have to create ...
0
votes
0answers
16 views

OpenVpn multiple client proxy

I admit that I have almost no clue but what I want to achieve is something like this scheme So the system (docker container or machine) would be responsible for managing open vpn profile tunnels ...
0
votes
1answer
160 views

Why does “file:///Users/username/Library/proxy.pac” not work in MacOS?

I tested setting up a proxy.pac file via a web server: networksetup -setautoproxyurl "Wi-Fi" "http://localhost/proxy.pac" and via a file directly: networksetup -setautoproxyurl "Wi-Fi" "file:///...
1
vote
1answer
967 views

Can Traefik maintain a path prefix if a backend redirects a request, when routing to that backend with PathPrefixStrip?

I am attempting to use Traefik as a proxy to send traffic to gitlab review environments. Gitlab CI can start docker containers to run a review version of a project. I can get Traefik to detect these ...
0
votes
0answers
64 views

Forward proxy with squid or anything else

i have a server with few thousands of IPv6s i want to create a forward proxy server with it which do the following: port forwarding (X.X.X.25:PORT -> IPV6 outgoing traffic) basic username/password ...
1
vote
0answers
52 views

Redirect browser http request to local server

I have now the following flow. example.com => https://example-example.mycompany.com => myproxy => someServer I am right now developing myproxy and it changes the answers that the clients of ...
0
votes
2answers
596 views

https --> http lightweight proxy

I'm new to web servers and need some advice. I've wrote simple HTTP server based on served over RedHat 7.2. Sadly, served as far as I understand does not support HTTPS. In order to keep in line ...
0
votes
0answers
93 views

How to Nginx upstream on single server with additional IP addresses added to NIC?

I am having a single dedicated server (static IP) with two additional IP addresses added. When I run SSH with command: cat /etc/network/interfaces I got this result: auto lo iface lo inet loopback ...
1
vote
0answers
258 views

Squid as transparent proxy to tunnel all connections under Windows

There's this app Joplin that can't connect to the internet on a corporate machine which lives on Active Directory and connects to the internet through HTTP and a NTLM proxy. The problem is that you ...
2
votes
1answer
289 views

HaProxy randomly returning 503 for static files when servers are available

HaProxy is randomly returning 503 even though there definitely are backend servers available. The backend is serving the files correctly, as it's access log shows it always returning a 200 or 304. I'm ...
2
votes
0answers
1k views

Squid returns 400 to GET / HTTP/1.1 and Host Header

I need to demonstrate and test a Squid setup, which should blacklist by default, and allow requests only to whitelisted URLs from known networks. This is currently running in my staging environment, ...
0
votes
0answers
247 views

HTTPS Caching proxy server for S3

I'm looking for a way to cache objects contained from S3 to a local proxy server. But, unlike solutions I've seen written in Internet blogs which cache to one specific S3 host only, I need to allow ...
0
votes
0answers
133 views

How can I intercept http requests, respond immediately with a custom http response, and also forward the original http request to the server?

I have an application that is stalling each time it makes a http request to a server. It stalls until the response is received from the server. The problem is, the server takes a while to respond to ...
0
votes
2answers
5k views

How to configure mitmproxy to intercept https?

I am trying to use mitmproxy to debug some https requests. I have configured mitmproxy to listen to a certain port: mitmproxy --listen-port 44700 I have configured my environment properly: export ...
0
votes
0answers
358 views

Best way to have a simple http proxy server/tunnel with multiple outbound ips

I have a couple hundred of servers connecting to HTTPS endpoints, and currently each one have a public IP address. I want to tunnel them through a smaller set of standard outgoing IP addresses that I ...
1
vote
1answer
63 views

How to start, stop a server automatically, based on http requests?

I am using cloud services (say AWS EC2) for my development servers. Those are generally big servers and I am paying for them. After I use them, sometimes I forgot them running for days so I end-up ...
2
votes
1answer
634 views

nginx proxy - can I forward the same request to multiple backends?

How can I use a nginx proxy setup to forward the same incoming request to multiple backend servers? I do not want a load-balancing, I want to send the same request to both servers. Normally I would ...
7
votes
1answer
1k views

Is it permissible for an intermediate proxy to add cookies during proxy authentication?

I recently encountered a certain security appliance (BlueCoat) which requires that all connections to the internet must be proxied through it (hello there, man-in-the-middle) and accordingly uses a ...
0
votes
1answer
2k views

Squid Transparent Proxy + Deny HTTPS Access (CONNECT method)

According to Wikipedia: HTTP CONNECT tunneling A variation of HTTP tunneling when behind an HTTP proxy server is to use the "CONNECT" HTTP method.1[2] In this mechanism, the client asks an ...
0
votes
1answer
571 views

HTTP request via proxy on AWS server fails with 407

I'm trying to send an http request using the requests library through a proxy from a new aws server. I've allowed all traffic inbound/outbound in the security settings. urllib3.exceptions.ProxyError: ...
0
votes
0answers
2k views

HTTP 400 Bad Request on Apache/Windows whenever I use ProxyPass

I can't figure this one out! Been googling it for days, trying a bunch of different things. Whenever I put any Proxy forward, I get HTTP Error 400. This is Apache 2.4.25 running on Windows 2012 R2 ...
1
vote
1answer
324 views

Keep the host name requested by the client to pass to remote backend when using Varnish cache and proxy pass

I am having some trouble configuring Varnish and the online documentation is not very clear (for me at least). I currently have Varnish cache setup on a Ubuntu server. I tested varnish with a local ...
0
votes
1answer
992 views

How to make nginx serve a public ip [duplicate]

Background I'm sick of slack being too expensive, so I decided to replace it with mattermost. I got an AWS ubuntu box with a public IP, and followed the mattermost installation instructions (the main ...
1
vote
1answer
6k views

HAproxy redirect all HTTP requests from single frontend to single backend (multiple ports)

I have haproxy installed and it works just fine, currently I have configuration that looks as follows frontend public_http # Listen on port 80 bind *:80 mode http # ...
1
vote
0answers
951 views

nginx/memcached for cached web proxy

I'm trying to setup nginx as a caching layer on top of an HTTP proxy - along with memcached to do the actual caching. The goal here is that we have an internal application which will make frequent ...
0
votes
1answer
651 views

Apache Load Balance and 503 Response

i have such a enviroment: We have one our own Web server, which comunicates with other software components (creating pdf documents) over http protocol. Such a software component is called a worker. ...
2
votes
1answer
3k views

How to avoid first byte timeout with nginx

I have an application in RubyOnRails, proxied by a NGINX server that is behind a CDN service. The CDN has a limitation that if the response first byte does not arrive in 60 seconds, the CDN server ...
3
votes
0answers
402 views

HAProxy - Securing inbound TCP connections

I've been trying to implement a load balanced secured proxy passthrough using HAProxy. Basically what I want to do is this: request ----> haproxy passthrough -----> multiple proxy servers -----&...
-1
votes
1answer
742 views

POP3 and SMTP over port 80 [closed]

TL;DR I need connect mail clients over port 80. I have a requirement to allow to mail clients connect to my mail provider over port 80. Some users of my company works in clients workplace. In some ...
0
votes
0answers
4k views

Nginx in reverse-proxy : Content-length mismatch for bigger CSS files

I have a web application (developped with the java framework Play) behind a nginx reverse-proxy. When I request the pages, the bigger CSS files (Bootstrap.min.css and easyui.css) don't load. Chrome ...
0
votes
2answers
289 views

Setting Squid3 server

I had cureently installed squid3-3.4.8 on Debian with following script #!/bin/bash # add Debian Wheezy backports repository cat <<EOF> /etc/apt/sources.list.d/wheezy-backports.list deb http:...
0
votes
1answer
1k views

Reverse proxy for DoS / DDoS protection

after i search how to protect my website host server using GRE tunnels, some friends of this forum give me a tip to use Reverse Proxy that would be better. But i don't found any guide on how to ...
0
votes
1answer
104 views

is proxy server behind VPN trackable?

Hi there, I have this interesting question. HTTP communication goes from PC to Proxy server, then proxy server is connected to VPN server, and from VPN server data goes to internet. Can anyone in ...
2
votes
1answer
2k views

nginx: proxy_bind to random ip address in range

I'm trying to configure a proxy in nginx that binds all proxied request to a random IP address in a specific range. Every proxied request will originate from a different IP address. I currently have ...
1
vote
0answers
1k views

HTTP Digest authentication on proxied server

I have a 1.) client, a 2.) nginx powered proxy server and 3.) some servers which addresses are unreachable for the client, the proxy handles the communication from the client to these servers. ...
3
votes
2answers
1k views

Nginx as a caching proxy: Trying a second upstream if first returns 404

For using nginx as a caching proxy, is there a way to configure 2 upstream servers in a way that it always tries the first one unless that one returns a 404, and only in that case it will try the ...
3
votes
0answers
3k views

HTTP to HTTPS local proxy that can do the HTTPS connection over a proxy

Here's the deal: Our client software can only connect using http protocol, it can not do https. However, security requirements dictate end-to-end security, so we need to use https when talking to the ...
0
votes
1answer
1k views

Iptables redirect HTTP traffic to proxy

I have a local HTTP proxy running, if I configure my browser to go through it works perfectly but I would need to leave the browser configuration blank and only redirect the traffic to the proxy with ...
3
votes
1answer
35k views

Setting HTTP proxy in OpenVPN client

I'm having trouble configuring my OpenVPN client to use an HTTP proxy. If I don't enter any proxy information in the client.ovpn file I get the following output: Mon Jun 29 14:30:07 2015 OpenVPN 2.3....
0
votes
1answer
4k views

Squid3 blocking all sites except restricted sites

I have a configuration file and in the lines where I have my allowed and restricted sites, I have the following: acl AllowedSites dstdomain "/home/john/squid3_sites/allowed-sites.squid" acl ...
0
votes
1answer
228 views

Proxy-attack simulation

I have a WS2008 x64 server, that has NodeJS application working on its 80 port. Server constantly receives queries from different IP-addresses that are trying to use my application as a proxy. NodeJS (...
4
votes
1answer
308 views

Any semblance of originally-requested domain name in HTTP, post DNS-resolution?

My understanding of how DNS resolution and web browsers work is as follows: Your browser uses the DNS system that ultimately connects it to your registrars name servers Your registrar's name servers ...
1
vote
1answer
628 views

How to prevent text/event-stream streams from being buffered by eager web proxies?

I am writing an application which uses server-sent events to push updates to the browser. This works very well for the most part, except when the client is behind a "web accelerator" proxy which very ...
0
votes
1answer
266 views

Multiple Proxy servers - and how to get around non-SNI devices?

We have a lot of devices that cannot use SNI and we want to be able to proxy a lot of HTTP/HTTPS servers. I was thinking we could setup a HAProxy for each URL to connect to initially, and then load ...
0
votes
1answer
1k views

How to proxy traffic by IP using server names/aliases?

We have 5 different server locations each containing around 30 servers each, each server represents a URL and serves both HTTP and HTTPS. They're all identical however provide different content based ...
0
votes
2answers
47 views

Is it possible to use Chrome as a transport?

I am in need to send some json log files to an AWS server. But the proxy, ISP or something else I cannot get in touch with is blocking everything else besides browsers on 80 and 443. Even Curl and ...