Redirect Traffic Softether VPN to Internal Squid Proxy

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
zerocool22
Posts: 1
Joined: Tue Nov 13, 2018 2:46 pm

Redirect Traffic Softether VPN to Internal Squid Proxy

Post by zerocool22 » Tue Nov 13, 2018 2:52 pm

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?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Redirect Traffic Softether VPN to Internal Squid Proxy

Post by thisjun » Thu Nov 22, 2018 8:06 am

Why do you want to use Squid?

dragon
Posts: 2
Joined: Thu May 02, 2019 2:14 pm

Re: Redirect Traffic Softether VPN to Internal Squid Proxy

Post by dragon » Thu May 02, 2019 2:17 pm

i have the same problem too. Who can help me?

Post Reply