Skip to content

Commit

Permalink
anyhost darf initial auf Console
Browse files Browse the repository at this point in the history
Signed-off-by: openhabian <openhabian@openHABian>
  • Loading branch information
openhabian authored and openhabian committed Aug 16, 2024
1 parent a8ee844 commit e65daa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/vpn.bash
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ setup_tailscale() {
if [[ -n "$tailscaleIP" ]]; then
sed -ri "s|^(sshHost.*)|\\1,${tailscaleIP}|g" "$consoleProperties"
fi
sed -ri "s|^(sshHost.*)|\\1,0.0.0.0|g" "$consoleProperties"
if cond_redirect sed -i -e 's|^preauthkey=.*$|preauthkey=xxxxxxxx|g' /etc/openhabian.conf; then echo "OK"; else echo "FAILED (remove tailscale pre-auth key)"; exit 1; fi

return 0
Expand Down

0 comments on commit e65daa6

Please sign in to comment.