Questions tagged [transparent-proxy]

The tag has no usage guidance.

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

Redirection thru redsocks connecting but not responding

Am using redsocks to redirect thru a proxy. The problem is that when i use a tool like wget it appears to be connecting but not resolving. What could be the problem and how could i solve it? Executing ...
0
votes
0answers
18 views

mitmproxy: Add next hop for specific IP

I need to forward specific requests from machine a.a.a.a via a transparent proxy located at p.p.p.p. In particular, only requests with destination b.b.b.b shall be proxied via p.p.p.p. For this reason,...
0
votes
0answers
40 views

How do I proxy all local traffic on 127.0.0.1:1080 use nftables tproxy

On my desktop linux,I want to surf the Internet through a proxy VPN. I already have a client for a transparent proxy listing on 127.0.0.1:1080. I want the traffic generated by the local process to ...
1
vote
0answers
21 views

netsed not directing packets to remote server

I'm trying to spoof a packet that gets sent from a client process to port 8092 of a game server via UDP. I've tried to set up a transparent proxy via iptables like so: sudo iptables -t nat -A OUTPUT -...
0
votes
0answers
13 views

(Mac) Transparently tunnel specific IP range through SOCKS5 proxy

I am on a Mac. I have a client that hits a specific range of IPs: 10.19.*.*. The client cannot be modified to hit a different host. The port can also be within a specific range (say 11111 to 22222). ...
0
votes
1answer
16 views

Transparent proxy between two applications

I've got a following setup: Application A - makes HTTP requests to some API, running on http://localhost:8090. Application B - intercepts HTTP request from A, a proxy running on http://localhost:...
0
votes
1answer
117 views

Transparent TCP load balancing with NGINX/HAproxy

I have been trying for some days and still have no luck with getting transparent TCP load balancer to work using HAproxy/NGINX. The problem is: everything works correctly, until i try to enable ...
1
vote
3answers
1k views

Local transparent proxy to filter http/https adult content using squid

I want to filter all of my internet (http & https) connections using a whitelist. I heard about squid, so I started trying to run it. I found two main tutorials: https://wiki.squid-cache.org/...
0
votes
0answers
42 views

Recommend way of setting-up custom docker network?

I'm trying to setup transparent proxy network using container (docker) Client (C) Proxy (P1) Proxy (P2) 10.10.1.1/24 10.10.2.1/24 10.10.3.1/24 veth0 veth0 ...
1
vote
2answers
882 views

Why an iptables NAT does not happen in the network namespace separated transparent proxy setup?

I'm trying to setup transparent proxying networks on my host. Real Client and Proxy targets are containters but in this experiment I use netns (network namespace) separated envinroment. To redirect ...
0
votes
1answer
410 views

Proxy Protocol with Nginx Reverse Proxy

Overview I have an Nginx reverse proxy setup pointing to a SaaS application (BigCommerce). While my configuration works great, I'm not able to ensure the client IP shows in the SaaS backend instead ...
0
votes
0answers
49 views

Setup transparent proxy with VMware Fusion

I followed instruction here to route all my VM traffic through a proxy. Add network (vmnet3) to VMware Fusion sudo vi /Library/Preferences/VMware\ Fusion/networking answer ...
0
votes
0answers
44 views

Can I use a Transparent Proxy with Network Guard?

We have a network architecture that depends on a network guard to provide isolation between two networks. One network is a protected, 10.0.0.0/24 network while the other is a standard, Internet VPN ...
0
votes
2answers
922 views

How to configure squid4 as transparent proxy?

There are many posts how to do that, most for older versions. According to this post, to setup squid as transparent server for port 80 it should be as simple as this: //squid.config http_port 3128 ...
0
votes
0answers
20 views

Transparent mutual tls auth proxy

I have an application that needs to connect to a rest api. It in turn, is using https and implements mutual tls authentication. The application is not able to implement mutual tls. How can I add a ...
1
vote
0answers
33 views

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 ...
0
votes
0answers
227 views

Is it possible to get a transparent proxy with Redsocks when using the new nftables?

I've been using Redsocks for a few months now on a Ubuntu "18.04.3 LTS (Bionic Beaver)" machine. This machine has iptables, and not nftables. So I have a few rules to redirect 80,443,9048, 1935 and so ...
1
vote
0answers
37 views

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 ...
0
votes
0answers
408 views

Transparent Proxying - iptables DNAT followed by TPROXY, only 1st packet is being DNAT'ed, rest failing to Conntrack

I'm failing to configure IPtables to perform a DNAT, and then a TPROXY redirect to a listening proxy on the router. The end result needs to be as follows: Inbound TCP or UDP connection from A.A.A.A -...
0
votes
2answers
596 views

Squid Proxy using HTTPS

So i have squid proxy setup and running fine with HTTP but now i need it to work with HTTPS. i already have a self signed certificate using my own root CA which is installed on my pc, and a key as ...
0
votes
2answers
335 views

Web Proxy to avoid port forwarding

Hello. I wonder if anyone could help me define which solution to use. I need to run a cloud server that acts as a proxy for HTTP requests, but on the web server side, I have no fixed IP or possibility ...
0
votes
0answers
899 views

Debugging squid proxy access log - TAG_NONE/200

We are using transparent proxy, Squid (Squid Cache: Version 3.5.28 Service Name: squid). Issue seems somehow similar to Squid SSL Bump TAG_NONE / HEIR_NONE but my access log is slightly different. ...
0
votes
1answer
251 views

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 ...
1
vote
0answers
845 views

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

Transparent Tor Proxy with pfSense

I'm trying to set up a transparent Tor proxy in Virtualbox using pfSense. In the end I want all traffic to be passed through Tor, whenever I connect a VM to the same internal network as the proxy. I ...
0
votes
1answer
520 views

Softether VPN - How to setup Squid proxy without switching off SecureNAT DHCP?

I have a Softether VPN server running and configured to use DHCP (SecureNAT) instead of local bridging as I couldn't figure out how to do it (despite reading all available tutorials on the internet). ...
7
votes
1answer
3k views

What exactly is a “transparent reverse proxy”?

I've been running some services as docker containers on a DigitalOcean droplet for a few years now, and recently I figured it was time to update one of them to the latest version (the service in ...
0
votes
0answers
103 views

Inline forward chained HTTPS proxy

What is the best way to enforce an appliance to route its traffic through the corporate proxy? that would be both inline and forwarding traffic to a parent proxy? the corporate proxy can authenticate ...
2
votes
2answers
403 views

Transparent HAproxy on ubuntu (amazon EC2)

I am trying to setup a transparent HAproxy load balancer using ubuntu 18.04 on amazon EC2. I got the HAproxy to work on a non-transparent mode, so now I am trying to add the changes required for the ...
0
votes
1answer
1k views

Unable to redirect HTTP traffic to transparent proxy (Squid)

I'm trying to create a transparent proxy to cache and blacklist traffic on my self-made Linux router. Problem is that all clients are getting timed-out when trying to reach any HTTP sites (HTTPS works)...
1
vote
0answers
48 views

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 ...
1
vote
1answer
2k views

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

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 -...
0
votes
1answer
109 views

Setup transparent proy on localhost without loop

To get a locally running, non-proxy aware app to go anyway through my proxy (running on localhost:8081) I've been trying out various combinations of iptables rules that have all failed. One that ...
0
votes
0answers
207 views

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 ...
0
votes
0answers
361 views

Forward Traffic between Namespaces

I have 3 interfaces: eth0 eth1 eth2: eth0 is directly connected to the Internet. eth1 and eth2 are connected to an external switch with no Internet connectivity. My goal was to connect eth1 and eth2 ...
0
votes
1answer
1k views

NginX (Host) as transparent proxy for NginX-Proxy (Docker Container)

Problem I am setting up Nginx-Proxy within docker upon my server. NginX-Proxy is meant to be directly accessible from the web and I would like to place a proxy in front of it. Ideally NginX(Host) ...
0
votes
1answer
613 views

Setting up transparent MitM HTTPS proxy for IoT device?

I have an IoT device that communicates with a remote server via HTTPS over port 443. I would like to intercept the HTTP/HTTPS communication - e.g. using Charles or mitmproxy. If it was a desktop or ...
5
votes
3answers
5k views

Local transparent proxy

I have an application that does not support proxy but I need to send it's traffic to a local proxy. I want to set IPTABLES to transparently redirect traffic to a given IP and PORT (80) to be ...
1
vote
2answers
3k views

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

Block HTTPS Traffic with Transparent Proxy Setup

I'm developing a Captive Portal system and (for now), I would like to know if there is any way to block HTTPS traffic on a Transparent Proxy setup. Here is what I have: a GNU/Linux Router (Netfilter), ...
2
votes
2answers
5k views

Configure squid 3.5 to use different parent proxies for different listening ports

I have following configuration now: # Squid normally listens to port 3128 http_port 3128 cache_peer proxy1_address parent proxy1_port 0 proxy-only default login=name1:pass1 never_direct allow all ...
0
votes
0answers
664 views

How to relay videos blocked by firewall on client side? [closed]

We have embedded Vimeo videos on a site accesible only to logged in users. Because of different firewalls, using different types of blocks, the videos sometimes do not work for the client. We cannot: ...
1
vote
0answers
2k views

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 ...
2
votes
1answer
15k views

Transparent HTTPs proxy with Squid 3.5

For couple of days I'm trying to figure out how to get a transparent HTTPs proxy to work with Squid. What I'm trying to achieve is a proxy that accepts internet traffic from ports 80 & 443, routes ...
1
vote
0answers
437 views

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 ...
1
vote
0answers
2k views

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) --&...
1
vote
1answer
1k views

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 ...
1
vote
1answer
2k views

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. ...
0
votes
1answer
3k views

Squid Enable SSL not working

So I've compiled Squid myself with the following options: Squid Cache: Version 3.3.8 configure options: '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${...