Skip to content

Commit 6659b9f

Browse files
committed
Port_frwd patch for tunnel script
1 parent 658d847 commit 6659b9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvirt/tunnel/tunnel.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ while true; do
142142
break
143143
fi
144144

145-
# set up port forwarding from the SSH bastion to the local port 2222 --> ${PORT_FRWD}
146-
port-forward ${PORT_FRWD} &
145+
# set up port forwarding from the SSH bastion to the local port, 2222 --> ${PORT_FRWD}
146+
port-forward ${PORT_FRWD}:2222 &
147147
PID_PORT=$!
148148

149149
# without a better synchonization library, we just need to wait for the port-forward to run

0 commit comments

Comments
 (0)