From 9fd9ee644087ff8a819745a949c19f76e47a68c3 Mon Sep 17 00:00:00 2001 From: Neilpang Date: Wed, 6 Dec 2023 02:04:16 +0000 Subject: [PATCH] Generated from https://github.com/vmactions/base-vm --- .github/workflows/test.yml | 4 ++-- run.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3fcb72..260e74e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: port: 8000 - name: Test in OpenBSD id: test - uses: vmactions/openbsd-vm@e334b12d061ed5e4df65a8565ed3f3ff939466a8 + uses: vmactions/openbsd-vm@46df5b582f3e6c68d688dfacab451636e1e080bf with: envs: 'DEBUG MYTOKEN MYTOKEN2' prepare: | @@ -84,7 +84,7 @@ jobs: - uses: actions/checkout@v4 - name: Test in OpenBSD id: test - uses: vmactions/openbsd-vm@e334b12d061ed5e4df65a8565ed3f3ff939466a8 + uses: vmactions/openbsd-vm@46df5b582f3e6c68d688dfacab451636e1e080bf with: envs: 'MYTOKEN MYTOKEN2' prepare: | diff --git a/run.sh b/run.sh index 2a91b4e..01e1759 100644 --- a/run.sh +++ b/run.sh @@ -148,9 +148,9 @@ addNAT() { fi if [ "$_prot" == "udp" ]; then - sudo socat UDP4-RECVFROM:$_hostport,fork UDP4-SENDTO:$_vmip:$_vmport & + sudo socat UDP4-RECVFROM:$_hostport,fork UDP4-SENDTO:$_vmip:$_vmport >/dev/null 2>&1 & else - sudo socat TCP-LISTEN:$_hostport,fork TCP:$_vmip:$_vmport & + sudo socat TCP-LISTEN:$_hostport,fork TCP:$_vmip:$_vmport >/dev/null 2>&1 & fi }