433147a724
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21111 3c298f89-4303-0410-b956-a3cf2f4a3e73
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
#
|
|
# 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'
|