[packages] add sshtunnel, Manages Local and Remote openssh ssh(1) tunnels
[openwrt/svn-archive/archive.git] / net / sshtunnel / files / etc / config / sshtunnel
1 #
2 # only authentication supported is public key with indentity file specified
3 # pkcs11 support soon
4 #
5
6 # tunnelR(emote) - when the connection will be initiated to the R(emote) endpoint at
7 # remoteaddress:remoteport and then forward to localaddress:localport
8 #
9 config tunnelR http
10 option user mourinho
11 option hostname server.disney.com
12 option identity /root/.ssh/id_rsa
13 option remoteaddress *
14 option remoteport 9009
15 option localaddress 192.168.1.13
16 option localport 80
17 option options '-o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o StrictHostKeyChecking=false'
18
19 # tunnelL(ocal) - when the connection will be initiated to the L(ocal) endpoint at
20 # localaddress:localport and then forward to remoteaddress:remoteport
21 #
22 config tunnelL test
23 option user mourinho
24 option hostname server.disney.com
25 option identity /root/.ssh/id_rsa
26 option localaddress *
27 option localport 1022
28 option remoteaddress secretserver.disney.com
29 option remoteport 22
30 option options '-o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o StrictHostKeyChecking=false'