blob: 7aaa380085185ad967ec946325264a92dd3fae78 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
ip -6 rule add iif wgmyk table ffmyk priority 10
ip -6 rule add from {{ wireguard_vpn_client_range }} table ffmyk priority 10
ip -6 rule add from all iif wgmyk type unreachable priority 200
ip -6 route add {{ wireguard_vpn_client_range }} table ffmyk dev wgmyk proto static
systemctl restart named.service
|