
The initRVP spawns all this server scripts and exposes them to public network by tunneling the service to serveo.net via ssh
7 lines
326 B
Bash
7 lines
326 B
Bash
nohup ssh -vL 8081:localhost:8081 root@192.168.29.158 -p 2222 -N > output.log 2>&1 &
|
|
sleep 8
|
|
nginx
|
|
nohup ssh -NT -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o ExitOnForwardFailure=yes -v -R 8080:127.0.0.1:8080 root@74.208.17.166 </dev/null >output.log 2>&1 &
|
|
sleep 8
|
|
echo "[+] Tunneling process ran successfully!!!"
|