mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-17 11:54:22 -05:00
13 lines
321 B
Bash
Executable File
13 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
echo "define qube_ip = $(qubesdb-read /qubes-ip)" \
|
|
| tee /rw/config/vpn/qube-ip.nft >/dev/null
|
|
|
|
nft -f /rw/config/vpn/dns-hijack.nft
|
|
|
|
## TODO: read https://www.wireguard.com/netns/
|