lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

uci_sshtunnel (2149B)


      1 #
      2 # password authentication is not possible, public key authentication must be used.
      3 # set "option IdentityFile" to he file from which the identity (private key) for RSA or DSA authentication is read.  
      4 # The default is ~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2.
      5 # ssh will also try to load certificate information from the filename obtained by appending -cert.pub to identity filenames.
      6 #
      7 
      8 #config server disney
      9 #	option user			mourinho
     10 #	option hostname			server.disney.com
     11 #	option port			22
     12 #	option retrydelay		1	
     13 #	option CheckHostIP		yes
     14 #	option Compression		no
     15 #	option CompressionLevel		6
     16 #	option IdentityFile		~/.ssh/id_rsa
     17 #	option LogLevel			INFO
     18 #	option PKCS11Provider		/lib/pteidpkcs11.so
     19 #	option ServerAliveCountMax	3
     20 #	option ServerAliveInterval	0
     21 #	option StrictHostKeyChecking	ask
     22 #	option TCPKeepAlive		yes
     23 #	option VerifyHostKeyDNS		yes
     24 
     25 # tunnelR(emote) - when the connection will be initiated to the R(emote) endpoint at
     26 # remoteaddress:remoteport and then forwarded to localaddress:localport
     27 #
     28 #config tunnelR http
     29 #	option server		disney
     30 #	option remoteaddress	*
     31 #	option remoteport	9009
     32 #	option localaddress	192.168.1.13
     33 #	option localport	80
     34 
     35 # tunnelL(ocal) - when the connection will be initiated to the L(ocal) endpoint at
     36 # localaddress:localport and then forwarded to remoteaddress:remoteport 
     37 #
     38 #config tunnelL test
     39 #	option server		disney
     40 #	option localaddress	*
     41 #	option localport	1022
     42 #	option remoteaddress	secretserver.disney.com
     43 #	option remoteport	22
     44 
     45 # tunnelD(ynamic) - when the connection will be initiated with the SOCKS4 or SOCKS5 protocol
     46 # to the local endpoint at localaddress:localport and then forwarded over the remote host
     47 #
     48 #config tunnelD proxy
     49 #	option server		disney
     50 #	option localaddress	*
     51 #	option localport	4055
     52 
     53 # tunnelW - creates TUN/TAP devices on client and server to establish a VPN tunnel between them
     54 # vpntypes:
     55 #  point-to-point = TUN
     56 #  ethernet = TAP
     57 #
     58 #config tunnelW proxy
     59 #	option server           disney
     60 #	option vpntype		point-to-point|ethernet
     61 #	option localdev		any|0|1|2|...
     62 #	option remotedev	any|0|1|2|...
     63