yrutschle / sslh

Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)
https://www.rutschle.net/tech/sslh/README.html
GNU General Public License v2.0
4.59k stars 366 forks source link

Transparent proxy with Windows client #377

Closed guru431 closed 4 months ago

guru431 commented 1 year ago

I set up SSLH in transparent proxy mode with multiple hosts. Everything is working fine. But there is a need to add a Windows (IIS) host to this scheme.

How can I do something similar on Windows? iptables -t mangle -N SSLHSSL iptables -t mangle -A OUTPUT -o eth0 -p tcp -m multiport --sport 1022,8000 -j SSLHSSL iptables -t mangle -A SSLHSSL --jump MARK --set-mark 0x1 iptables -t mangle -A SSLHSSL --jump ACCEPT ip rule add fwmark 0x1 lookup 100 ip route add default via 192.168.1.124 table 100 ip route flush cache

yrutschle commented 4 months ago

The new way of configuring transparent proxying explained here should work with any host behind sslh. Please create a new discussion if needed.