mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 04:37:19 +02:00
#651 changed parameters
This commit is contained in:
4
FAQ.md
4
FAQ.md
@@ -750,8 +750,12 @@ RSAAuthentication yes
|
|||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
GatewayPorts yes
|
GatewayPorts yes
|
||||||
AllowTcpForwarding yes
|
AllowTcpForwarding yes
|
||||||
|
ClientAliveInterval 60
|
||||||
|
ClientAliveCountMax=2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*Last two paramters were added as used in the ssh tunnel demo at #GPN19 https://media.ccc.de/v/gpn19-76-einen-server-daheim-ohne-ffentliche-ipv4-adresse#t=911*
|
||||||
|
|
||||||
You can add those at the end of the file, save and reboot.
|
You can add those at the end of the file, save and reboot.
|
||||||
|
|
||||||
On the RaspiBlitz you can then setup for example to forward the gRPC port 10009 (internal port) to the port 20009 on the public server (external port) with the user = `test` and server address = `raspiblitz.com` with the following command:
|
On the RaspiBlitz you can then setup for example to forward the gRPC port 10009 (internal port) to the port 20009 on the public server (external port) with the user = `test` and server address = `raspiblitz.com` with the following command:
|
||||||
|
@@ -30,7 +30,7 @@ After=network.target
|
|||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
Environment="AUTOSSH_GATETIME=0"
|
Environment="AUTOSSH_GATETIME=0"
|
||||||
ExecStart=/usr/bin/autossh -M 0 -N -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" [PLACEHOLDER]
|
ExecStart=/usr/bin/autossh -M 0 -N -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=2 [PLACEHOLDER]
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Reference in New Issue
Block a user