bol-van / zapret

DPI bypass multi platform
8.32k stars 635 forks source link

How to connect to tunnel in Ubuntu #152

Closed SlimRG closed 1 year ago

SlimRG commented 1 year ago

I have ExpressVPN with tun0 interface. What should I do (How to install) to transfer only banned trafic to tun0?

bol-van commented 1 year ago

What you ask is not directly related to this project. Google for policy routing. use 'filter' mode in install_easy.sh. edit zapret-hosts-user-ipban.txt. after 'ipset/get_user.sh' you will get filled ip/nf sets 'ipban' and 'ipban6' if ipv6 is enabled Use those ipsets to mark traffic. Use additional route table to route all trafic to tun0. Use ip rule to reroute marked traffic to additional route table

This is documented in wireguard_iproute_openwrt.txt but only in russian. However you can try to translate in google