G'day folks,
Quick (possibly) stupid (more possibly) question. Applies more to netfilter and general routing than AsusWRT-Merlin I suppose, but that's the system where I'm trying to pull this off.
I have a remote proxy that handles both HTTP and HTTPS - functionally, similar to tinyproxy.
I've set up DNAT/SNAT rules, and the requisite FORWARD rule for both 80 and 443 roughly like so:
iptables -t nat -A PREROUTING -i tun21 -s ! x.x.x.x -p tcp --dport 80 -j DNAT --to x.x.x.x:8080
//repeat...
Transparent HTTPS Proxy
Quick (possibly) stupid (more possibly) question. Applies more to netfilter and general routing than AsusWRT-Merlin I suppose, but that's the system where I'm trying to pull this off.
I have a remote proxy that handles both HTTP and HTTPS - functionally, similar to tinyproxy.
I've set up DNAT/SNAT rules, and the requisite FORWARD rule for both 80 and 443 roughly like so:
iptables -t nat -A PREROUTING -i tun21 -s ! x.x.x.x -p tcp --dport 80 -j DNAT --to x.x.x.x:8080
//repeat...
Transparent HTTPS Proxy