Page 1 of 1

Redirect Traffic Softether VPN to Internal Squid Proxy

Posted: Tue Nov 13, 2018 2:52 pm
by zerocool22
Hi,


I take this opportunity to greet all the members of the forum. I'm trying to intercept all the traffic coming from the user VPNs to redirect it to squid and then return it, but I can not. I tried to set Iptables rules, but nothing, nor postrouting, nor in output. Some advice? My situation is This:

PC-----VPN----Squid----Internet

I tried this Rules

iptables -t nat -A PREROUTING -i tap_soft -p tcp -dip 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i tap_soft -p tcp -dip 443 -j REDIRECT --to-port 3128

but not work.

If tried this rules...

iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 3128

the pc does not navigate and squid reports error in the log (invalid Request) Can you help me?

Re: Redirect Traffic Softether VPN to Internal Squid Proxy

Posted: Thu Nov 22, 2018 8:06 am
by thisjun
Why do you want to use Squid?

Re: Redirect Traffic Softether VPN to Internal Squid Proxy

Posted: Thu May 02, 2019 2:17 pm
by dragon
i have the same problem too. Who can help me?