Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Dec 6, 2023
1 parent cc4974c commit 244687e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
port: 8000
- name: Test in DragonflyBSD
id: test
uses: vmactions/dragonflybsd-vm@0962d48f2f1c124a7c4987ef1a5c1a229bc2ec7d
uses: vmactions/dragonflybsd-vm@cc4974cada6bbcacbd41423055ea9e6008d670d2
with:
envs: 'DEBUG MYTOKEN MYTOKEN2'
prepare: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- uses: actions/checkout@v4
- name: Test in DragonflyBSD
id: test
uses: vmactions/dragonflybsd-vm@0962d48f2f1c124a7c4987ef1a5c1a229bc2ec7d
uses: vmactions/dragonflybsd-vm@cc4974cada6bbcacbd41423055ea9e6008d670d2
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
Expand Down
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

}
Expand Down

0 comments on commit 244687e

Please sign in to comment.