31 lines
1.0 KiB
Plaintext
Raw Normal View History

#
# only authentication supported is public key with indentity file specified
# pkcs11 support soon
#
# tunnelR(emote) - when the connection will be initiated to the R(emote) endpoint at
# remoteaddress:remoteport and then forward to localaddress:localport
#
config tunnelR http
option user mourinho
option hostname server.disney.com
option identity /root/.ssh/id_rsa
option remoteaddress *
option remoteport 9009
option localaddress 192.168.1.13
option localport 80
option options '-o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o StrictHostKeyChecking=false'
# tunnelL(ocal) - when the connection will be initiated to the L(ocal) endpoint at
# localaddress:localport and then forward to remoteaddress:remoteport
#
config tunnelL test
option user mourinho
option hostname server.disney.com
option identity /root/.ssh/id_rsa
option localaddress *
option localport 1022
option remoteaddress secretserver.disney.com
option remoteport 22
option options '-o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o StrictHostKeyChecking=false'