1
vote
1answer
209 views

Redirect traffic on port 80 into apache for unknown macs, and into squid for some macs

I have a linux box behaving like a router that handles two network interfaces: eth0 for internet and eth1 for LAN. I set up iptables in order to redirect all the web traffic coming by the LAN into a ...
0
votes
1answer
747 views

Transparently proxying HTTP to a SOCKS server that is provided by SSH on an Ubuntu box in pfSense

I'm trying to transparently proxy HTTP requests in a LAN that is served by a pfSense router over SSH. So far, I've tried setting up an Ubuntu box outside that network and forwarding everything going ...
3
votes
1answer
1k views

Linux IPv6 Transparent Proxy (but Linux doesn't support NAT on IPv6!?)

On Linux I can make a transparent proxy simply by adding a iptables -j REDIRECT command. To my surprise, I am needing to support IPv6. Simple enough right? iptables6 -j REDIRECT command not ...
0
votes
1answer
281 views

Setting up a transparent proxy with only one box

I am playing around with transparent proxies, unfortunately I do not have two machines to test it out with. The current way I am doing things is the program makes a request to a computer on port 80, ...
0
votes
2answers
1k views

iptables for transparent NAT

I'm trying to transparently route traffic of one Xen VM through another, like so: ------- 192.168.250.4 192.168.250.3 --------- | VM1 | ...