diff --git a/dot_config/packages/archgirlie b/dot_config/packages/archgirlie index aada548..d3f4009 100644 --- a/dot_config/packages/archgirlie +++ b/dot_config/packages/archgirlie @@ -1,4 +1,3 @@ - -> Avoid running yay as root/sudo. accessibility-inspector aic94xx-firmware alsa-utils diff --git a/dot_local/bin/executable_vpn-port-forwarding b/dot_local/bin/executable_vpn-port-forwarding index 12aac26..7c92ff5 100644 --- a/dot_local/bin/executable_vpn-port-forwarding +++ b/dot_local/bin/executable_vpn-port-forwarding @@ -1,5 +1,7 @@ #!/usr/bin/env bash +natpmpc -a 1 0 udp 60 -g 10.96.0.1 | grep -P "(?<=public port )\w+" -o >~/.vpn-port + while true; do date natpmpc -a 1 0 udp 60 -g 10.96.0.1 && natpmpc -a 1 0 tcp 60 -g 10.96.0.1 || {