You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
308 B
Plaintext
10 lines
308 B
Plaintext
3 years ago
|
#!/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
|
||
|
systemctl restart named.service
|