Advertisement
ferbulous

reverse.config

Mar 30th, 2020
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # Config file for reverse tunneling
  2. #
  3. # 9001 : 9000 portainer
  4. # 8124 : 8123 hass
  5. # 2022 : 22 ssh
  6. #
  7. Host tunneling
  8. HostName googlecloud_ipaddress
  9. User pi
  10. Port 20000
  11. GatewayPorts yes
  12. IdentityFile /home/pi/.ssh/id_rsa
  13. Compression yes
  14. ServerAliveInterval 300
  15. ServerAliveCountMax 3
  16.  
  17. RemoteForward 0.0.0.0:9001 localhost:9000
  18. RemoteForward 0.0.0.0:8124 localhost:8123
  19. RemoteForward 0.0.0.0:2022 localhost:22
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement