Add tip to local forward port from remote host
This commit is contained in:
parent
75fc188ce7
commit
45b82a06a3
10
README.md
10
README.md
@ -69,6 +69,16 @@ netstat -tupln | grep 20001
|
|||||||
|
|
||||||
You should see your port associated to autossh process :)
|
You should see your port associated to autossh process :)
|
||||||
|
|
||||||
|
|
||||||
|
### Local port forward
|
||||||
|
|
||||||
|
You can use your jump server "c" even to expose locally a web interface of your remote host "b" or something else with:
|
||||||
|
```bash
|
||||||
|
ssh -N -L <LOCALPORT>:127.0.0.1:<REMOTEPORT> <TARGET>
|
||||||
|
```
|
||||||
|
|
||||||
|
For example to access the pihole web interface :)
|
||||||
|
|
||||||
___
|
___
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
Loading…
x
Reference in New Issue
Block a user