Advertisement
fplanzer

ssh tunnel

Apr 18th, 2018
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1.  
  2. # from local to remote with ssh open
  3. ssh -D 8080 remote-host
  4.  
  5. # Browser sock 5
  6. 127.0.0.1:8080
  7.  
  8. # Alt
  9. ssh -L 8080:server-hostname:80 remote-host
  10. ssh -L 8080:<server-ip-address>:80 <username>@<remote-addr> -N
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement