gSpotx2f / ruantiblock_openwrt

Обход блокировок в OpenWrt с помощью Tor или VPN
GNU General Public License v3.0
218 stars 20 forks source link

How to set proxy ip in transparent proxy mode? #86

Closed Bazo0Z0o closed 2 months ago

Bazo0Z0o commented 2 months ago

Good day, I didn’t find in the configs, and in the documentation, how can I specify the proxy address in transparent proxy mode? Thank you!

gSpotx2f commented 2 months ago

Transparent proxy must be running locally on the router (on the same host as ruantiblock). Nftables rules for redirecting traffic to transparent proxy specify only the port. The IP address is same to which client connections are accepted (gateway address).

Bazo0Z0o commented 2 months ago

But if i have transparent proxy somewhere else in the internet for example on aws vps

gSpotx2f commented 2 months ago

It doesn't work that way. Transparent proxy only works locally on the host. You can't use transparent proxy on another host. Ask Google about transparent proxies in Unix...

Bazo0Z0o commented 2 months ago

Did that already: only using VNP and local instance, thank you!