This commit is contained in:
Peder Bergebakken Sundt 2024-10-02 09:16:03 +02:00
parent 9a573ca719
commit c6c00f9e4b
2 changed files with 5 additions and 1 deletions

View File

@ -83,6 +83,9 @@
/* cachix */ /* cachix */
/* nix-template */ /* nix-template */
nix-output-monitor nix-output-monitor
nix-du
nix-tree
nix-visualize
(pkgs.nix-inspect or unstable.nix-inspect) (pkgs.nix-inspect or unstable.nix-inspect)
(pkgs.nix-btm or unstable.nix-btm) (pkgs.nix-btm or unstable.nix-btm)
unstable.nixpkgs-review unstable.nixpkgs-review

View File

@ -9,7 +9,8 @@
function vpn ( function vpn (
ip="$(dig +short -x a $1 | tail -n 1)" ip="$(dig +short -x a $1 | tail -n 1)"
set -x set -x
sshuttle 0.0.0.0/0 --disable-ipv6 --dns -r "$1" -x $ip -x 127.0.0.1 -x 172.0.0.0/8 #sshuttle 0.0.0.0/0 --disable-ipv6 --dns -r "$1" -x $ip -x 127.0.0.1 -x 172.0.0.0/8
sshuttle 0.0.0.0/0 ::/0 --dns -r "$1" -x $ip -x 127.0.0.1 -x 172.0.0.0/8
) )
if test -f ~/.ssh/config; then if test -f ~/.ssh/config; then