Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
themeEmacs
titleУстройство 2 (клиент)
 ifc tap0  192.168.1.2/24 up
 sshtun tap0 -window=128000 -keepalive=30 -remote-if=0
 sshtun tap0 ssh_tun:$ecRet@10$ecRet@192.10168.101.1 start
 sshtun tap0 -cipher-algos=aes256-cbc -kex-algos=diffie-hellman-group1-sha1 -hostkey-algos=ssh-rsa  -hash-algos=hmac-sha1 -comp-algos=none
 sshd start
 sshtun start

...

Code Block
languagetext
themeEmacs
titleУстройство 2 (клиент)
ifc tap0  192.168.1.2/24 up
sshtun tap0 -window=128000 -keepalive=30 -remote-if=0
sshtun tap0 ssh_tun:$ecRet@10$ecRet@192.10168.101.1 start
sshd start
sshtun start
ifc tap1  192.168.100.2/24 up
sshtun tap1 -window=128000 -keepalive=30 -remote-if=1
sshtun tap1 ssh_tun:$ecRet@10$ecRet@192.10168.10100.1 start
sshtun start

SSH-туннель между устройством Инфинет и клиентом, с запущенным openssh

...

Code Block
languagetext
themeEmacs
ifc tap0 19210.16810.1120.1/24 up
sshd tunnel add TEST QQTEST tap0
sshd start

...

Code Block
languagetext
themeEmacs
tunctl
ifconfig tap0 up
ifconfig tap0 10.10.20.12/24
ssh -N –o Tunnel=Ethernet –w 0:0 TEST@10.10.20.1

...