Browse Source

typo fix

master
Christian Rotzoll 6 years ago
parent
commit
a07273694c
  1. 2
      FAQ.md
  2. 2
      home.admin/config.scripts/internet.sshtunnel.py

2
FAQ.md

@ -743,7 +743,7 @@ groupadd forwardings
To add a forwarding user run: To add a forwarding user run:
``` ```
useradd -g forwardings -d /home [USERNAME] useradd -g forwardings -d /home [USERNAME]
echo "command="date" [CONTENT-OF-RASPIBLITZ-ROOT-SSH-PUBKEY]" > /etc/ssh/authorized_keys/[USERNAME] echo 'command="date" [CONTENT-OF-RASPIBLITZ-ROOT-SSH-PUBKEY]' > /etc/ssh/authorized_keys/[USERNAME]
passwd [USERNAME] passwd [USERNAME]
``` ```

2
home.admin/config.scripts/internet.sshtunnel.py

@ -103,7 +103,7 @@ if sys.argv[1] == "on":
print("[INTERNAL-PORT]<[EXTERNAL-PORT] external not number '%s'" % (sys.argv[i])) print("[INTERNAL-PORT]<[EXTERNAL-PORT] external not number '%s'" % (sys.argv[i]))
sys.exit(1) sys.exit(1)
if port_internal == LNDPORT: if port_internal == LNDPORT:
print("Detected LND Port Forwaring") print("Detected LND Port Forwarding")
forwardingLND = True forwardingLND = True
if port_internal != port_external: if port_internal != port_external:
print("FAIL: When tunneling your local LND port '%s' it needs to be the same on the external server, but is '%s'" % (LNDPORT,port_external)) print("FAIL: When tunneling your local LND port '%s' it needs to be the same on the external server, but is '%s'" % (LNDPORT,port_external))

Loading…
Cancel
Save