add nft script to makefile

This commit is contained in:
Roy Olav Purser 2024-02-10 01:02:54 +01:00
parent 7ec5a4c22a
commit e2b7965287
Signed by: roypur
GPG Key ID: 063DAA01D56E28CB

View File

@ -35,6 +35,7 @@ install_basic: systemd scripts bin
cp scripts/connect_basic.py /snacks/wireguard/scripts/connect_basic.py
cp scripts/inner_basic.sh /snacks/wireguard/scripts/inner_basic.sh
cp scripts/is_root_namespace.py /snacks/wireguard/scripts/is_root_namespace.py
cp scripts/dns.nft /snacks/wireguard/scripts/dns.nft
cat scripts/vpn_prompt.sh >> /etc/zsh/zshrc
cp bin/vpn /usr/local/bin/vpn
setcap cap_sys_admin,cap_sys_ptrace=ep /usr/local/bin/vpn