Welcome to Nginx accessing access through the Real IP

505 views
Skip to first unread message

Marcelon Hack - Brasil-UFMT

unread,
Oct 26, 2015, 3:37:50 PM10/26/15
to BigBlueButton-Setup
Hello!
Thanks for the great BBB project.

Need help! I have the following structure:

- 1 - Modem router with Internet and IP-fixed (real);
- 1 - Ubuntu Server 14.04 with BBB 0.9.
- This modem router redirects all TCP ports 80, 1935, 9123 and UDP 16384 and 32768 to the IP of the server;

The server is built with fixed IP 192.168.25.154. The BBB is using same IP address. When the browser access the internal IP 192.168.25.154 the BBB works without problem. With all computers on this network.

But when the fixed ip access the internet (real) he falls in Welcome to nginx!

What should I do?
Is there any configuration to be done in Nginx?

Again, thank you!

Marcelon Hack - Brasil-UFMT

unread,
Oct 26, 2015, 3:47:50 PM10/26/15
to BigBlueButton-Setup
Output of sudo bbb-conf --check:

BigBlueButton Server 0.9.1 (365)
                    Kernel version: 3.19.0-31-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 7948 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): 192.168.25.154
                              Red5: 192.168.25.154
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.25.154
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.25.154

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 192.168.25.154

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.25.154


** Potential problems described below **
# Warning: The API demos are installed and accessible from:
#
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

Fred Dixon

unread,
Oct 26, 2015, 7:42:12 PM10/26/15
to bigbluebu...@googlegroups.com
Hi Marcelon,

Setup a hostname for your BigBlueButton server and see the steps here


The hostname will let you redirect requests locally on the BigBlueButton server to the internal IP address while the hostname maps to the external IP address.

See the above link for more details.

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Marcelon Hack - Brasil-UFMT

unread,
Oct 27, 2015, 9:30:39 AM10/27/15
to BigBlueButton-Setup
Hello Fred!

Thank you, thank you ... Unfortunately I did not find this tutorial before. kkkk

I created a domain in no-ip and it worked.

Yesterday, the anxiety to make it work. Found similar problems here in the forum. I used http://docs.bigbluebutton.org/install/install.html#audio-not-working tutorial. And not worked. :(

Undo or change to the new domain?

I have one more question. For compatibiliade browsers. The BBB works in Chrome, Firefox and IE?

Fred Dixon

unread,
Oct 27, 2015, 9:50:38 AM10/27/15
to bigbluebu...@googlegroups.com
Hi Mracelon,

> - This modem router redirects all TCP ports 80, 1935, 9123 and UDP 16384 and 32768 to the IP of the server;

It's always a bit tricky when you have another component in the mix forwarding the packets.  See this thread for a similar discussion


Is it an option for you to setup BigBlueButton on an external server with direct connection to the internet?

Regards,... Fred




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Marcelon Hack - Brasil-UFMT

unread,
Oct 27, 2015, 11:52:15 AM10/27/15
to BigBlueButton-Setup
Fred,

Sorry, but I do not understand the question well.

But the server is not external. It is a machine in the company with Core i7 3.2 Ghz. 8 GB RAM.

Has no firewall, only one modem router Pace 5147. The internet comes into the modem. I want to make the server run and test their performance. Then we see the security possibilities.

The goal is to use it for web conferencing in business with customers. And integrate with Moodle 2.6.

Fred Dixon

unread,
Oct 27, 2015, 12:27:07 PM10/27/15
to bigbluebu...@googlegroups.com
Hi Marcelon,

Focusing on audio, did the audio work when you had configured access to the server via 192.168.25.154?

Will you users be within in the company (that is, within the company's network) or external as well?

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Marcelon Hack - Brasil-UFMT

unread,
Oct 28, 2015, 11:44:34 AM10/28/15
to BigBlueButton-Setup
Ok Fred!

-> Focusing on audio, did the audio work When You had configured access to the server via 192.168.25.154?

Yes, I did the http://docs.bigbluebutton.org/install/install.html#audio-not-working settings with IP EXTERNAL not 192.168.25.154.

Yesterday, I went back to default setting with the Internal IP.

Both configurations returns the WebRTC: Error 1007. The audio works only with Flash plugin. :(

You should make the settings using the meudominio.ddns.net?

-> Will you be users Within in the company (that is, Within the company's network) or external as well?

External as well. In our company there are two internet service links. I use the second to call in a "EXTERNAL".

Thank you!

Marcelon Hack - Brasil-UFMT

unread,
Oct 29, 2015, 8:16:48 AM10/29/15
to BigBlueButton-Setup

BigBlueButton Server 0.9.1 (365)
                    Kernel version: 3.19.0-31-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 7948 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): meudominio.ddns.net
                              Red5: meudominio.ddns.net
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: meudominio.ddns.net
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: meudominio.ddns.net

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: meudominio.ddns.net

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: meudominio.ddns.net


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.25.154
#   /etc/nginx/sites-available/bigbluebutton: meudominio.ddns.net
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 192.168.25.154
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: meudominio.ddns.net

# Warning: The API demos are installed and accessible from:
#

Marcelon Hack - Brasil-UFMT

unread,
Oct 30, 2015, 10:43:58 AM10/30/15
to BigBlueButton-Setup
Hello Fred!

The error continues WebRTC in 1007.

I do the http://docs.bigbluebutton.org/install/install.html#audio-not-working settings using meudominio.ddns.net?

Fred Dixon

unread,
Oct 30, 2015, 11:26:46 AM10/30/15
to bigbluebu...@googlegroups.com
Hi Marcelon,

You've posted three times in the last 3 days.  While I can understand your anxious for to resolve this, you don't need to post every 24 hours.  At some point it becomes spamming our mailing list.

There are almost 2000 members in this mailing list.  The core developers are here as well -- we all saw your previous e-mails.

You need to be patient and wait for others to volunteer their time to help.  If you are unable to wait, possibility because this is for a commercial deployment, you have other options for support, see


Regards,... Fred



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Chad Pilkey

unread,
Oct 30, 2015, 12:31:12 PM10/30/15
to BigBlueButton-Setup
You need to use the external IP address not the domain name in the FreeSWITCH configuration files. If you have used "meudominio.ddns.net" in the files that will cause it to fail.
Reply all
Reply to author
Forward
0 new messages