Skip to content

Instantly share code, notes, and snippets.

@insekticid
Created October 21, 2016 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save insekticid/2db4f72034f046d598337f5f9e4afd52 to your computer and use it in GitHub Desktop.
Save insekticid/2db4f72034f046d598337f5f9e4afd52 to your computer and use it in GitHub Desktop.
```
uci export sshtunnel
package sshtunnel
config server 'exploit_cz'
option user 'tunnel'
option hostname 'exploit.cz'
option IdentityFile '~/.ssh/id_rsa'
option port '22'
option LogLevel 'INFO'
config tunnelR 'local_ssh'
option server 'exploit_cz'
option remoteaddress '*'
option remoteport '2222'
option localaddress '127.0.0.1'
option localport '2222'
config tunnelR 'http'
option server 'exploit_cz'
option remoteaddress '*'
option remoteport '8000'
option localaddress '127.0.0.1'
option localport '80'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment