User Tools

Site Tools


ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
ssh [2021/07/06 04:55] – created vissiessh [2021/07/06 05:05] – [Reverse proxy] vissie
Line 240: Line 240:
  
 Remote port 7000 will be created from localhost on port 5901 into remote server that has ssh on 1234 Remote port 7000 will be created from localhost on port 5901 into remote server that has ssh on 1234
 +  vim ./port_forward.sh
 +<sxh bash; gutter: false>
 +#!/bin/bash
 +## for kvm setups
 +#ssh -p1234 myserver.ip.add -L 5901:127.0.0.1:5901
  
 +# For my IP cameras https://127.0.0.1:5000/
 +#ssh -L 5001:192.168.1.22:443 sshservername
 +# For my IP cameras https://127.0.0.1:5000/
 +ssh -L 5000:192.168.1.23:80 sshservername 
 +
 +# For zmninja
 +#ssh -L 5000:192.168.1.2:1234 sshservername
 +
 +# My Router
 +#ssh -L 5000:192.168.1.1:80 sshservername
 +</sxh>
ssh.txt · Last modified: 2021/10/06 03:19 by vissie