Questions tagged [transparent-proxy]

210 questions
1
vote
0 answers

How to redirect incoming traffic (HTTP, HTTPS) to specified server which is accessible behind SOCKS4 proxy?

servers setup schema I have a web application on a "Server behind proxy", which is not accessible through internet. It's only accessible through "SOCKS4 server", which I can't change anything on. I have a domain with IP address set to "Redsocks…
gerwis1998
  • 11
  • 2
1
vote
0 answers

Transparent Proxy with DHCP passthru?

I'm trying to replicate on a small Linux-based router a behavior I've seen elsewhere, such as in cable modems: I need to get a single DHCP address from the WAN side, offer/pass that same address to the single attached client device, and mostly just…
sburlappp
  • 11
  • 2
1
vote
1 answer

How to make a transparent proxy server based intranet dns

I want to implement a server for responding any http/https request sent to it. It's much like forward proxy using CONNECT method. I do not want the clients to set proxy explicitly. The DNS of the clients is a customized dnsmasq which will resolve…
Donghua Liu
  • 121
  • 2
1
vote
0 answers

how to redirect android traffic to proxy

I know that Android does not support automatic detection pac files, and I also know that port 443 can not be redirected. So, This is what I have: For example, asssuming the squid-cache proxy port is 3128 (eth1 local, eth0 internet), the following…
acgbox
  • 376
  • 1
  • 5
  • 21
1
vote
0 answers

Transparent proxy between two firewalls

I'm thinking on setting a transparent caching proxy for that also handles SSL traffic, but as you may [obviously] know there's the certificate issue that makes it difficult...some devices requiring a wired config change, like the Apple TV or some…
Vita
  • 111
  • 1
  • 1
  • 7
1
vote
1 answer

Transparent Proxy Squid with internal and external network

I have network setup like this with external and internal network. I have successfully got squid running with proxy for internal browser and now I want to set up as transparent but having some problem. network First, I did change "http_port 8080…
lufee
  • 11
  • 3
1
vote
2 answers

What's the difference between transparent proxy and explicit proxy

I've set up a transparent proxy with squid listening on 8080(http) 8443(https), and it works. In addition, I set the iptables to redirect the request. iptables -t nat -A PREROUTING -i wlan0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports…
Totti
  • 21
  • 3
1
vote
0 answers

Setting up polipo proxy behind nginx

I need to put polipo transparent proxy behind nginx reverse proxy. I need this to route trafic to specific polipo instances based on specific domains. For example, proxy-1.domain.com should be routed by nginx (proxy_pass) to first polipo instance…
Pavel Nazarov
  • 23
  • 1
  • 3
1
vote
2 answers

Squid: curl: (52) Empty reply from server

I want to set up a public HTTP proxy using Squid. I installed it successfully on Ubuntu 14.04 and just added two lines in /etc/squid3/squid.conf: http_access allow all http_port 3120 transparent However trying to curl MY_SERVER_IP_HERE:3120 ya.ru,…
1
vote
0 answers

Transparent proxy and udp load balance with Nginx in Docker

I'm trying to setup udp load balancer with IP and port transparent proxy. My environment runs on docker. We are using mesos + marathon to manage containers. For UDP load balancing I use Nginx. App and Nginx runs in docker containers. I have few…
Andrew
  • 11
  • 6
1
vote
0 answers

Traffic Redirection of several vlan through TPROXY

I have http proxy, whitch has been developed in my company. Proxy uses TPROXY. Usually, installation of this proxy requires adding some routing rules and iptables rules (as for squid): ip rule add fwmark 1 lookup 100 ip route add local 0.0.0.0/0 dev…
UsCr
  • 191
  • 5
1
vote
0 answers

Nginx Transparent IP - route server response through load balancer, and not straight to client

I've been given a task of setting up Transparent IP on Nginx in order to pass client address and port to upstream server. The setup look like this: Client --> Nginx (listens for udp on 90009) --> Service (listens on localhost:59153) Nginx and…
Michał U
  • 11
  • 1
  • 4
1
vote
1 answer

Configure Squid proxy server or pfsense to achieve WLAN URL logging

Using Squid proxy server and pfsense are out of my comfort zone, I have managed to install Squid on an Ubuntu server and give it a static IP and connect to it via LAN after setting HTTP_access to allow all. My ultimate goal is just to "simply" log…
user381533
1
vote
1 answer

Squid TPROXY on Ubuntu Router/Gateway

Okay, so I have an Ubuntu box acting as Router/Gateway for my LAN; with 3 network cards, 2 for WAN and 1 for the local network. It is setup to load balance between the WAN and failover when needed. And oh, I had to add squid into the equation. It is…
1
vote
1 answer

terrible idea? transparent https caching proxy for a local network

I am not sure which stackexchange network is best for this question... but here goes: Is it a terrible idea to implement a transparent https proxy to make use of local caching for a local network? We are limited by bandwidth and cannot get a better…
user319862
  • 777
  • 2
  • 8
  • 20