New step with setup notes
This commit is contained in:
@@ -101,5 +101,34 @@ step_12() {
|
|||||||
ipCronLoc="/etc/cron.d/update_public_ip"
|
ipCronLoc="/etc/cron.d/update_public_ip"
|
||||||
ipCron="*/5 * * * * root $WDIR/$SCRIPT_FILE -qq updateip"
|
ipCron="*/5 * * * * root $WDIR/$SCRIPT_FILE -qq updateip"
|
||||||
|
|
||||||
|
step_100_info() { echo "Installation notes"; }
|
||||||
|
step_100_alias() { ALIAS="notes"; }
|
||||||
|
step_100() {
|
||||||
|
outColor green
|
||||||
|
cat <<COTURN_EOF
|
||||||
|
# Port forwarding
|
||||||
|
|
||||||
|
3478 tcp/udp
|
||||||
|
5349 tcp/udp
|
||||||
|
|
||||||
|
# Permissions
|
||||||
|
|
||||||
|
When using letsencrypt certificates for transport security.
|
||||||
|
|
||||||
|
* Add user \`turnserver\` to group \`www-data\`
|
||||||
|
|
||||||
|
usermod -aG www-data turnserver
|
||||||
|
|
||||||
|
* In the renewal deploy script of cerbot add:
|
||||||
|
|
||||||
|
LOC_DOMAIN="yourdoma.in"
|
||||||
|
chown root:www-data /etc/letsencrypt/archive
|
||||||
|
chmod 750 /etc/letsencrypt/archive
|
||||||
|
chown root:www-data /etc/letsencrypt/archive/\$LOC_DOMAIN/privkey*
|
||||||
|
chmod g+r /etc/letsencrypt/archive/\$LOC_DOMAIN/privkey*
|
||||||
|
|
||||||
|
COTURN_EOF
|
||||||
|
}
|
||||||
|
|
||||||
VERSION_SEQREV=13
|
VERSION_SEQREV=13
|
||||||
. /usr/local/bin/sequencer.sh
|
. /usr/local/bin/sequencer.sh
|
||||||
|
Reference in New Issue
Block a user