acesso externo BBB - COM IP FIXO

614 views
Skip to first unread message

Max

unread,
Jan 25, 2012, 7:07:39 PM1/25/12
to BigBlueButton-dev
Hi

Bigbluebutton I'm testing at the time managed to do work on the local
network, but I'm trying to provide external access and yet it still
fails ... To understand my current structure looks like this:

Bbb in lan IP: 10.1.1.3 - Access without problems this way.

I have an external IP FIXED, to avoid problems of release of doors, I
created a DMZ on the modem to point the ip 10.1.1.3. So when I enter
the external IP directly calls the modem IP 10.1.1.3 no lock.

Access the server via ssh normally, but when I try to access the room
bigbluebutton displays the message "Welcome to nginx."

I do not understand why the message because it does not have a
firewall blocking access.

Can anyone give me a hint?
Thank you!

Fred Dixon

unread,
Jan 25, 2012, 7:35:02 PM1/25/12
to bigblueb...@googlegroups.com
Hi Max,

Take a look at the setup instructions in this FAQ


and let us know if it gets you going.

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.






HostBBB.com

unread,
Jan 25, 2012, 7:37:42 PM1/25/12
to BigBlueButton-dev
try sudo bbb-conf -setip xx.xx.xx.xx (where xx is your fixed public
ip)

also you need to make sure port 1935,9123,80 are all forwarding to
10.x address on router

regards,
Stephen
hostbbb.com

Max M. Costa

unread,
Jan 25, 2012, 9:07:26 PM1/25/12
to bigblueb...@googlegroups.com
Fred, I dropped this topic because I started wearing DMZ, ie, all ports are open.

Stephen, I made the change indicated and I was happy! However not 100% ... now unable to access the homepage, but when I tell the name and click "Join" an error is displayed.
Also, check this list:


firstuser@bbb-vm-20110502-22:~$ sudo bbb-conf -check

BigBlueButton Server 0.71a
                    Kernel version: 2.6.32-31-generic-pae
                      Distribution: Ubuntu 10.04.2 LTS (32-bit)
                            Memory: 1002 MB

/var/www/bigbluebutton/client/conf/config.xml
                Port test (tunnel): xxx.xxx.xxx.xxx
                              Red5: xxx.xxx.xxx.xxx

/etc/nginx/sites-available/bigbluebutton
                       server name: xxx.xxx.xxx.xxx
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

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

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API demos)
                  bbb-web-api host: xxx.xxx.xxx.xxx

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
                  voice conference: konference (asterisk)


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 10.1.1.3
#   /etc/nginx/sites-available/bigbluebutton: xxx.xxx.xxx.xxx

#  This server could not connect to BigBlueButton through http://xxx.xxx.xxx.xxx/
#
#  If you are setting up BigBlueButton behind a firewall, see the FAQ
#  for steps to setup BigBlueButton behind a firewall.


# Unable to connect to port 1935 (RTMP) on xxx.xxx.xxx.xxx

# Unable to connect to port 9123 (desktop sharing) on xxx.xxx.xxx.xxx



Any other tips?
Since already thank the help




2012/1/25 HostBBB.com <sd...@207me.com>

Max M. Costa

unread,
Jan 25, 2012, 9:31:28 PM1/25/12
to bigblueb...@googlegroups.com

Error:

An Error has occured: Status Code 500 Exception Type null Message null java.lang.NullPointerException

....

Tiago Jacobs - iMDT

unread,
Jan 26, 2012, 6:35:36 AM1/26/12
to bigblueb...@googlegroups.com, Max M. Costa
I had a similar problem, when the external IP was not accessible from internal network.

You will need to configure using DNS for the server connection, and on internal DNS resolve to internal IP, and on external DNS resolve to external IP.

All configs related to client-side (red5 connection, www url), must be set to DNS.

Best Regards,
Tiago

Max

unread,
Jan 26, 2012, 7:51:37 AM1/26/12
to BigBlueButton-dev
Tiago, can you give me a hint where to start?

It would be something like, create a DNS
http://www.no-ip.com/services/managed_dns/free_dynamic_dns.html here,
some coisa.net and point to my external IP, after that set bbb-conf --
SetIP  some coisa. net?

Thanks again!



On 26 jan, 08:35, Tiago Jacobs - iMDT <ti...@imdt.com.br> wrote:
> I had a similar problem, when the external IP was not accessible from
> internal network.
>
> You will need to configure using DNS for the server connection, and on
> internal DNS resolve to internal IP, and on external DNS resolve to
> external IP.
>
> All configs related to client-side (red5 connection, www url), must be
> set to DNS.
>
> Best Regards,
> Tiago
>
> Em 26/01/2012 00:31, Max M. Costa escreveu:
>
>
>
>
>
>
>
>
>
> > Error:
>
> > An Error has occured: Status Code 500 Exception Type null Message null
> > java.lang.NullPointerException
>
> > ....
>
> > Em 25/01/2012 23:07, "Max M. Costa" <maxm...@gmail.com
> > <mailto:maxm...@gmail.com>> escreveu:
> > > #http://code.google.com/p/bigbluebutton/wiki/FAQ
>
> > > # Unable to connect to port 1935 (RTMP) on xxx.xxx.xxx.xxx
>
> > > # Unable to connect to port 9123 (desktop sharing) on xxx.xxx.xxx.xxx
>
> > > Any other tips?
> > > Since already thank the help
>
> > > 2012/1/25 HostBBB.com <sd...@207me.com <mailto:sd...@207me.com>>
>
> > >> try sudo  bbb-conf -setip xx.xx.xx.xx  (where xx is your fixed public
> > >> ip)
>
> > >> also you need to make sure port 1935,9123,80 are all forwarding to
> > >> 10.x address on router
>
> > >> regards,
> > >> Stephen
> > >> hostbbb.com <http://hostbbb.com>
>
> > >> On Jan 25, 7:07 pm, Max <maxm...@gmail.com
> > <mailto:maxm...@gmail.com>> wrote:
> > >> > Hi
>
> > >> > Bigbluebutton I'm testing at the time managed to do work on the local
> > >> > network, but I'm trying to provide external access and yet it still
> > >> > fails ... To understand my current structure looks like this:
>
> > >> > Bbb in lan IP: 10.1.1.3 - Access without problems this way.
>
> > >> > I have an external IP FIXED, to avoid problems of release of doors, I
> > >> > created a DMZ on the modem to point the ip 10.1.1.3. So when I enter
> > >> > the external IP directly calls the modem IP 10.1.1.3 no lock.
>
> > >> > Access the server via ssh normally, but when I try to access the room
> > >> > bigbluebutton displays the message "Welcome to nginx."
>
> > >> > I do not understand why the message because it does not have a
> > >> > firewall blocking access.
>
> > >> > Can anyone give me a hint?
> > >> > Thank you!
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > Groups "BigBlueButton-dev" group.
> > >> To post to this group, send email to
> > bigblueb...@googlegroups.com
> > <mailto:bigblueb...@googlegroups.com>.
> > >> To unsubscribe from this group, send email to
> > bigbluebutton-...@googlegroups.com
> > <mailto:bigbluebutton-dev%2Bunsu...@googlegroups.com>.

Fred Dixon

unread,
Jan 26, 2012, 7:55:46 AM1/26/12
to bigblueb...@googlegroups.com
Hi Max,

You can use an external IP address to connect to an internal server (such as through port forwarding), but BigBlueButton won't work as it need to resolve the internal IP address to the host IP address of the server, which it can't.

The solution is to use an external DNS entry (which resolves to the external IP address of your firewall).  When your browser connects to the firewall, the firewall can port forward the request to the internal BigBlueButton server. When BigBlueButton processes the requests, you can use an entry in /etc/hosts to resolve the external DNS to the internal IP address of the BigBlueButton server.  Thus, when needed, the external DNS entry points to the internal IP address of the BigBlueButton server.

This is explained in

Specifically, 

> Internally, BigBlueButton must be able to call external.host.org to make API requests. In this example, if the internal BigBlueButton server is at 192.168.10.198, add the following line to /etc/hosts (you'll need to edit this file as root user).


192.168.10.198 external.host.org




Try the steps in the FAQ (see above URL) and let us know if your able to access your BigBlueButton server.

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




Max

unread,
Jan 26, 2012, 9:08:22 AM1/26/12
to BigBlueButton-dev
Fred did not understand the need to release the doors ...

In my case, I do not use firewall, I have only one modem d-link 500b,
where the firewall is disabled.

External customer (external IP) ---> Moden (does DMZ) ----> bbb
internal 10.1.1.3

I was in / etc / hosts and listed for external ip 127.0.0.1.

In the bbb, if I ping the external ip it responds in the same way that
responds to the internal ip.





On 26 jan, 09:55, Fred Dixon <ffdi...@gmail.com> wrote:
> Hi Max,
>
> You can use an external IP address to connect to an internal server (such
> as through port forwarding), but BigBlueButton won't work as it need to
> resolve the internal IP address to the host IP address of the server, which
> it can't.
>
> The solution is to use an external DNS entry (which resolves to the
> external IP address of your firewall).  When your browser connects to the
> firewall, the firewall can port forward the request to the internal
> BigBlueButton server. When BigBlueButton processes the requests, you can
> use an entry in /etc/hosts to resolve the external DNS to the internal IP
> address of the BigBlueButton server.  Thus, when needed, the external DNS
> entry points to the internal IP address of the BigBlueButton server.
>
> This is explained in
>
> http://code.google.com/p/bigbluebutton/wiki/FAQ#Can_I_provide_externa...
>
> Specifically,
>
> > Internally, BigBlueButton must be able to call external.host.org to make
>
> API requests. In this example, if the internal BigBlueButton server is at
> 192.168.10.198, add the following line to /etc/hosts (you'll need to edit
> this file as root user).
>
> 192.168.10.198 external.host.org
>
> Try the steps in the FAQ (see above URL) and let us know if your able to
> access your BigBlueButton server.
>
> Regards,... Fred
> --
> BigBlueButton Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton
> BigBlueButton on twitter: @bigbluebutton
> BigBlueButton Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton
> BigBlueButton on twitter: @bigbluebutton

Max

unread,
Jan 26, 2012, 9:24:07 AM1/26/12
to BigBlueButton-dev
Esse é meu arquivo hosts:


127.0.0.1 xxx.xx.xx.xxx
127.0.0.1 bbb-vm-20110502-22.localdomain bbb-vm-20110502-22

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Max

unread,
Jan 26, 2012, 4:23:11 PM1/26/12
to BigBlueButton-dev
up...

Fred Dixon

unread,
Jan 26, 2012, 6:10:27 PM1/26/12
to bigblueb...@googlegroups.com
Max,

Do not double-post.  

You've posted twice in eight hours, and the second message was a bump, which suggests you believe there is an implied service level agreement in these forums, and that all questions will be answered within X hours.

There is not.

There are over 1100 members on this mailing list.  We all saw your first post.  You've already received help from *three* members.   If you do not receive an immediate response, be patient.

Keep in mind that we volunteer our time here to help others.  If you absolutely need a response ASAP, an no one in the BigBlueButton community is responding, you can always contact one of the companies
that provide commercial support at http://bigbluebutton.org/support.

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Max

unread,
Jan 26, 2012, 6:44:23 PM1/26/12
to BigBlueButton-dev
Forgiveness Fred was not the intention ...

It's just anxious to make it work ...


Thank you!



On 26 jan, 20:10, Fred Dixon <ffdi...@gmail.com> wrote:
> Max,
>
> Do not double-post.
>
> You've posted twice in eight hours, and the second message was a bump,
> which suggests you believe there is an implied service level agreement in
> these forums, and that all questions will be answered within X hours.
>
> There is not.
>
> There are over 1100 members on this mailing list.  We all saw your first
> post.  You've already received help from *three* members.   If you do not
> receive an immediate response, be patient.
>
> Keep in mind that we volunteer our time here to help others.  If you
> absolutely need a response ASAP, an no one in the BigBlueButton community
> is responding, you can always contact one of the companies
> that provide commercial support athttp://bigbluebutton.org/support.
>
> Regards,... Fred
> --
> > > > > > Internally, BigBlueButton must be able to call external.host.orgto make
>
> > > > > API requests. In this example, if the internal BigBlueButton server
> > is at
> > > > > 192.168.10.198, add the following line to /etc/hosts (you'll need to
> > edit
> > > > > this file as root user).
>
> > > > > 192.168.10.198 external.host.org
>
> > > > > Try the steps in the FAQ (see above URL) and let us know if your
> > able to
> > > > > access your BigBlueButton server.
>
> > > > > Regards,... Fred
> > > > > --
> > > > > BigBlueButton Developerhttp://
> > bigbluebutton.org/http://code.google.com/p/bigbluebutton
> > > > > BigBlueButton Developerhttp://
> > bigbluebutton.org/http://code.google.com/p/bigbluebutton
Message has been deleted
Message has been deleted

Tiago Jacobs - iMDT

unread,
Jan 27, 2012, 8:27:46 AM1/27/12
to bigblueb...@googlegroups.com, Max
Max, please ask help to a network administrator.

The modem receives all incoming connections, and retransmit to your machine using stateful tables.

For a connection that come from outside your network, there is no stateful register, so your modem don't know where to send the packet on internal network.

There is a feature called NAT (Network Address Translator) and NAPT, there is also a feature called DMZ (that forward all new connections to an internal network).

As said, read a bit about network routing and you will be fine with this questions.

    http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094831.shtml

You can also ask support for your network provider.

Tiago

Em 26/01/2012 21:47, Max escreveu:
Forgiveness Fred was not the intention ...

It's just anxious to make it work ...


Thank you!



On 26 jan, 20:10, Fred Dixon <ffdi...@gmail.com> wrote:
Max,

Do not double-post.

You've posted twice in eight hours, and the second message was a bump,
which suggests you believe there is an implied service level agreement in
these forums, and that all questions will be answered within X hours.

There is not.

There are over 1100 members on this mailing list.  We all saw your first
post.  You've already received help from *three* members.   If you do not
receive an immediate response, be patient.

Keep in mind that we volunteer our time here to help others.  If you
absolutely need a response ASAP, an no one in the BigBlueButton community
is responding, you can always contact one of the companies
that provide commercial support athttp://bigbluebutton.org/support.

Regards,... Fred
--
BigBlueButton Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton
Internally, BigBlueButton must be able to call external.host.orgto make

        
API requests. In this example, if the internal BigBlueButton server
is at
192.168.10.198, add the following line to /etc/hosts (you'll need to
edit
this file as root user).

        
192.168.10.198 external.host.org

        
Try the steps in the FAQ (see above URL) and let us know if your
able to
access your BigBlueButton server.

        
Regards,... Fred
--
BigBlueButton Developerhttp://
bigbluebutton.org/http://code.google.com/p/bigbluebutton
BigBlueButton on twitter: @bigbluebutton
--
BigBlueButton Developerhttp://
bigbluebutton.org/http://code.google.com/p/bigbluebutton
BigBlueButton on twitter: @bigbluebutton

Max M. Costa

unread,
Jan 27, 2012, 4:55:11 PM1/27/12
to Tiago Jacobs - iMDT, bigblueb...@googlegroups.com
Hello everybody,

I made it! It was easier than I thought ...

I just needed to create a DNS and point to my static IP. After that listed in the file / etc / hosts the local IP with DNS, I SetIP putting the DNS and you're done!

How I used to test a DMZ did not have to make the rules for the doors (not recommended).

I appreciate the help of the staff who contributed and I am available.

Hugs ...

Max Mauro Costa.

Reply all
Reply to author
Forward
0 new messages