Update .config/packages/archgirlie

Update .local/bin/vpn-port-forwarding
This commit is contained in:
punkfairie 2024-06-08 13:14:46 -07:00
parent 82189bff13
commit 2faf8a40b9
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,3 @@
 -> Avoid running yay as root/sudo.
accessibility-inspector
aic94xx-firmware
alsa-utils

View file

@ -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 || {