bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

Improve NAT configuration

Open TiagoJacobs opened this issue 3 years ago • 1 comments

Sometimes the NAT configuration / external IP detection fails - it happened to me this morning.

The only way of getting the setup done was manually overriding the external_ip variable within the bbb-install.sh script (maybe a DNS resolution problem).

It would be good if we can specify the external nat ip address as a parameter in the bbb-install call (with a new parameter -n).

Something like this (a.b.c.d is the external nat ip):

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install-2.5.sh | bash -s -- -v focal-250 -s bbb.example.com -e [email protected] -w -n a.b.c.d

This would allow more flexibility, for instance, to use an external API:

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install-2.5.sh | bash -s -- -v focal-250 -s bbb.example.com -e [email protected] -w -n `curl -s https://api.ipify.org`

PS: I'll send a PR for this soon, just writing the idea here for discussion.

TiagoJacobs avatar Nov 10 '22 12:11 TiagoJacobs

yes never worked perfect, big problem when server know public ip i recommend using "sed" commands that can be run atfer every update/upgrade sed 's/privatIP/publicIP/g'

but a option "--external-ip=8.8.8.8" would do the job

hahaxd35 avatar Nov 16 '22 12:11 hahaxd35