With this tool you can easily allow some traffic to bypass the VPN. There is no DisallowedIPs property in wireguard configs, but you can do this by specifying only the AllowedIPs property.
pip install -r requirements.txt
-
Create
input.txtfile and write hosts to be processed without VPN:yandex.ru mail.yandex.ru google.com -
Make sure that you have disabled your vpn and run the script.
python3 main.py -
Copy AllowedIPs from console of from
allowed.ipsfile and paste it into your wireguard client config. Make sure thatBlock untunneled trafficis disabled.