Vmware (0.63 BigBlueButton) behind the firewall don't work

201 views
Skip to first unread message

Chesco

unread,
Jan 27, 2010, 8:09:11 AM1/27/10
to BigBlueButton-dev
Hi folks

I had install theVmware (0.63) inside my LAN and I forward ports 80,
1935 and 9123
but I can't see the index page from out. Inside from my network works
good, but outside nginx is only displaying its default page

Current configuration, seems normal:

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
IP for tunnel check: 192.168.1.157
IP for rtmp (red5): 192.168.1.157
host for bbb-web interface: 192.168.1.157

/etc/nginx/sites-available/bigbluebutton (configuration file nginx)
server_name: 192.168.1.157
port: 80
client document root: /var/www/bigbluebutton

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

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API
demos)
host: 192.168.1.157

/etc/asterisk/bbb_extensions.conf (asterisk)
conference module: konference


Can you help me please?

Thanks in advance

Jeremy Thomerson

unread,
Jan 27, 2010, 8:28:23 AM1/27/10
to bigblueb...@googlegroups.com
If you have nginx, etc, configured to listen on the internal IP address, then the request to http://external-ip-or-dns-name will not be answered.  You'll need to reconfigure the vm to use the external IP or name and use that from both inside and outside the network.

Jeremy


--
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.


Walter Tak

unread,
Jan 27, 2010, 9:38:01 AM1/27/10
to bigblueb...@googlegroups.com
Chesco ; I installed nginx on my main server and editted the options ; was a lot easier than redirecting traffic to nginx inside the VM. I normally don't like to install tools in the top-server (dom0) but nginx is very small and pretty solid.
 
You still need to redirect traffic to 1935 etc because that traffic isn't handled by nginx (which only listens on port 80).
 
That install worked.
 
Regards,
Walter

Walter Tak

unread,
Jan 27, 2010, 9:48:46 AM1/27/10
to bigblueb...@googlegroups.com
Btw small addition ; normally a VM gets a public IP as well.
 
If you have a dedicated server ask for more IP's then issue a free public IP to your BBB-VM and you don't have to redirect anything anymore.
 
W.

Chesco

unread,
Jan 27, 2010, 10:01:39 AM1/27/10
to BigBlueButton-dev
I had a dynamic IP and I try to configure nginx with my dynamic-dns
name, but unsuccessfuly, doesn't work

" server {
listen 80;

server_name 192.168.1.157 debianita.homelinux.com;

access_log /var/log/nginx/bigbluebutton.access.log; "

Any other way ?


On 27 ene, 15:48, "Walter Tak" <wal...@waltertak.com> wrote:
> Btw small addition ; normally a VM gets a public IP as well.
>
> If you have a dedicated server ask for more IP's then issue a free public IP to your BBB-VM and you don't have to redirect anything anymore.
>
> W.
>
>   ----- Original Message -----
>   From: Walter Tak
>   To: bigblueb...@googlegroups.com
>   Sent: Wednesday, 27 January 2010 15:38
>   Subject: Re: [bigbluebutton-dev] Vmware (0.63 BigBlueButton) behind the firewall don't work
>
>   Chesco ; I installed nginx on my main server and editted the options ; was a lot easier than redirecting traffic to nginx inside the VM. I normally don't like to install tools in the top-server (dom0) but nginx is very small and pretty solid.
>
>   You still need to redirect traffic to 1935 etc because that traffic isn't handled by nginx (which only listens on port 80).
>
>   That install worked.
>
>   Regards,
>   Walter
>     ----- Original Message -----
>     From: Jeremy Thomerson
>     To: bigblueb...@googlegroups.com
>     Sent: Wednesday, 27 January 2010 14:28
>     Subject: Re: [bigbluebutton-dev] Vmware (0.63 BigBlueButton) behind the firewall don't work
>

>     If you have nginx, etc, configured to listen on the internal IP address, then the request tohttp://external-ip-or-dns-namewill not be answered.  You'll need to reconfigure the vm to use the external IP or name and use that from both inside and outside the network.
>
>     Jeremy

>       For more options, visit this group athttp://groups.google.com/group/bigbluebutton-dev?hl=en.


>
>     --
>     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 athttp://groups.google.com/group/bigbluebutton-dev?hl=en.

Walter Tak

unread,
Jan 27, 2010, 10:23:21 AM1/27/10
to bigblueb...@googlegroups.com
From the nginx docs: http://wiki.nginx.org/NginxHttpCoreModule#server_name

server {
server_name example.com www.example.com;
}
Your example should work ; if hostname "debianita.homelinux.com" really
points to your server you should at least see something in the logs of
nginx.

Are you running nginx on your dom0 (host) or in your domU (guest) as I
recommended below ?

Chesco

unread,
Jan 27, 2010, 10:58:56 AM1/27/10
to BigBlueButton-dev
No, i don't know how configure it in my dom0 (host) can you send me a
example config for this?

I have two routers one from internet (wan monoroute) to the second
(lan) to the dom0 (hostmaster VM) (192.168.1.88)
and point forward from internet (wan monoroute)--->to the second
(lan)--->to the virtualmachine directly (192.168.1.157)

tail of /var/log/nginx/bigbluebutton.access.log

95.19.149.137 - - [27/Jan/2010:16:55:43 +0000] "GET /images/
banner_bottom.png HTTP/1.1" 304 0 "http://debianita.homelinux.com/"
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
FunWebProducts; .NET CLR 1.1.4322; OfficeLiveConnector.1.3;
OfficeLivePatch.0.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET
CLR 3.5.30729; InfoPath.2; MS-RTC LM 8)"
192.168.1.157 - - [27/Jan/2010:16:56:02 +0000] "GET /bigbluebutton/api/
create?name=Demo+Meeting&meetingID=Demo
+Meeting&attendeePW=ap&moderatorPW=mp&voiceBridge=74981&checksum=03428db2d11394f37190149da02b12939e4f4867
HTTP/1.1" 200 355 "-" "Java/1.6.0_0"
95.19.149.137 - - [27/Jan/2010:16:56:02 +0000] "GET /bigbluebutton/
demo/demo1.jsp?username=felix&action=create HTTP/1.1" 200 1083 "http://
debianita.homelinux.com/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows
NT 5.1; Trident/4.0; FunWebProducts; .NET CLR 1.1.4322;
OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 2.0.50727; .NET
CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; MS-RTC LM 8)"

in /var/log/nginx/error.log
there are nothing

> > then the request tohttp://external-ip-or-dns-namewillnot be answered.

Walter Tak

unread,
Jan 27, 2010, 11:17:21 AM1/27/10
to bigblueb...@googlegroups.com
Install nginx on dom0 and copy the config from the VM to the host and the
edit the IP's. Oh you need to add a proxy_pass directive. Forgot about that.

My config on my gateway (server which has a public IP) where ( 172.19.3.9 =
ip of BBB VM )

81 is the port of Tomcat in the BBB server, it's 81 because I had another
Apache http-server running inside the VM as well, just change 81 to 80.

What you'll have is:

nginx running on your public gateway/dom0 , listening on various ports for
incoming traffic
nginx will redirect incoming requests to the VM (172.19.3.9 in my case)

Regards,
W.

----------------------------------

server {
listen 80;
server_name your.server.name;

access_log /var/log/nginx/bigbluebutton.access.log;

location ~ (/open/|/close/|/idle/|/send/) {
proxy_pass http://172.19.3.9:8088;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffering off;
}


location /deskshare {
proxy_pass http://172.19.3.9:5080;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
include fastcgi_params;
}


location /bigbluebutton {
proxy_pass http://172.19.3.9:8080;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

include fastcgi_params;
}

location / {
proxy_pass http://172.19.3.9:81;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#walter root /var/www/bigbluebutton-default;
#walter index index.html index.htm;
}

location /client {
proxy_pass http://172.19.3.9:81;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# root /var/www/bigbluebutton;
# index index.html index.htm;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/nginx-default;

Chesco

unread,
Jan 27, 2010, 1:51:53 PM1/27/10
to BigBlueButton-dev
Ok

I've configured this:

router WAN forward ports 80, 1935, 9123 to router LAN;
router LAN forward port 80 to dom0 (192.168.1.88) and ports 1935 and
9123 to VM (192.168.1.157)

ngnix configured like this in this server (192.168.1.88) (apache2
killed)

server {
listen 80;
server_name 192.168.1.88;

access_log /var/log/nginx/bigbluebutton.access.log;

location ~ (/open/|/close/|/idle/|/send/) {

proxy_pass http://192.168.1.157:8088;


proxy_redirect off;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffering off;
}

location /deskshare {
proxy_pass http://192.168.1.157:5080;


proxy_redirect default;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
include fastcgi_params;
}

location /bigbluebutton {
proxy_pass http://192.168.1.157:8080;


proxy_redirect default;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

include fastcgi_params;
}

location / {
proxy_pass http://192.168.1.157:80;


proxy_redirect default;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
#walter root /var/www/bigbluebutton-default;
#walter index index.html index.htm;
}

location /client {
proxy_pass http://192.168.1.157:80;


proxy_redirect default;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
# root /var/www/bigbluebutton;
# index index.html index.htm;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/nginx-default;
}

}

From LAN works perfectly if you point the browser at 192.168.1.88
but from out doesn't work....

> > > then the request tohttp://external-ip-or-dns-namewillnotbe answered.

> ...
>
> leer más »

Chesco Porcel

unread,
Jan 27, 2010, 7:03:43 PM1/27/10
to BigBlueButton-dev
I'm in trouble because I had a dynamic ip and two routers with many
NAT's to trought...
I don`t know if is better put CNAME in /etc/hosts or install bind9 and
configure named.conf
with two zones, intranet and internet... but anyway witch my dynamic
IP I don't have
idea how do that for internet/public IP

Any other suggestion or solution ?

Thanks in advance

> ...
>
> leer más »

Chesco Porcel

unread,
Jan 28, 2010, 6:26:54 PM1/28/10
to BigBlueButton-dev
Friends, sorry for my poor english, but still haven't work my BBB. I
do the things that you wrote me.
Run on my public gateway/dom0 , listening on various ports for
incoming traffic 80 to 192.168.1.88 and 1935, 9123 to 192.168.1.157
(VM)
I had configure my bind9 to share my local network that this machine
is the same name inside and outside "my.name.server"
running Nginx will redirect incoming requests to the VM
(192.168.1.157) in my case, like your nginx but with IPs changed of
course.

I will thank you very much all help you can give me

Best Regards

> ...
>
> read more »

Walter Tak

unread,
Jan 28, 2010, 7:59:26 PM1/28/10
to bigblueb...@googlegroups.com
Ok so you ran nginx on your dom0. In that case do not forward port 80 to the
VM or else a request from outside will never hit your nginx-server in dom0
right ?

Also you double router-setup and the fact that you don't have a static IP
make the case a bit hard.

I can advice to get yourself a nice VM at a datacentre with a static IP and
setup BBB in there. Ask for an Ubuntu 9.04 32-bit VM specifically else you
cannot use the packages painstakingly prepared by the BBB-crew. Rent it for
a month or so and then ditch it if your satisfied, or not.

You can get a FREE VPS trial for 1 month at Gandi, a hosting company in
Paris, France. http://en.gandi.net/hosting/trial/

The VPS costs 12 euros per 'unit' if you'd decide to continue. Of course any
other hosting company can help you get yourself a nice dedicated server or
VM.

W.

----- Original Message -----
From: "Chesco Porcel" <cesc...@gmail.com>
To: "BigBlueButton-dev" <bigblueb...@googlegroups.com>

Best Regards

> read more �

Chesco Porcel

unread,
Feb 1, 2010, 5:37:50 PM2/1/10
to BigBlueButton-dev
Thank you Walter, I did all you write me, thanks for hosting
recomend, it seems very profesional.
The BBB works almost good, but only one bug or inconsistance. When
load a presentation (.ppt) it loads all the file, but not convert it.
In the sreen we see corverting 0% and time & time... but stay stopped
and locked, we cant do anything, but logout

Where we can configure the uploads, the conversion, the music that
sounds waiting for others members, etc ?

Thank you for all

On Jan 29, 1:59 am, "Walter Tak" <wal...@waltertak.com> wrote:
> Ok so you ran nginx on your dom0. In that case do not forward port 80 to the
> VM or else a request from outside will never hit your nginx-server in dom0
> right ?
>
> Also you double router-setup and the fact that you don't have a static IP
> make the case a bit hard.
>
> I can advice to get yourself a nice VM at a datacentre with a static IP and
> setup BBB in there. Ask for an Ubuntu 9.04 32-bit VM specifically else you
> cannot use the packages painstakingly prepared by the BBB-crew. Rent it for
> a month or so and then ditch it if your satisfied, or not.
>
> You can get a FREE VPS trial for 1 month at Gandi, a hosting company in

> Paris, France.http://en.gandi.net/hosting/trial/

> > > proxy_passhttp://192.168.1.157:8088;


> > > proxy_redirect off;
> > > proxy_set_header X-Forwarded-For
> > > $proxy_add_x_forwarded_for;
>
> > > client_max_body_size 10m;
> > > client_body_buffer_size 128k;
>
> > > proxy_connect_timeout 90;
> > > proxy_send_timeout 90;
> > > proxy_read_timeout 90;
>
> > > proxy_buffering off;
> > > }
>
> > > location /deskshare {

> > > proxy_passhttp://192.168.1.157:5080;


> > > proxy_redirect default;
> > > proxy_set_header X-Forwarded-For
> > > $proxy_add_x_forwarded_for;
> > > client_max_body_size 10m;
> > > client_body_buffer_size 128k;
> > > proxy_connect_timeout 90;
> > > proxy_send_timeout 90;
> > > proxy_read_timeout 90;
> > > proxy_buffer_size 4k;
> > > proxy_buffers 4 32k;
> > > proxy_busy_buffers_size 64k;
> > > proxy_temp_file_write_size 64k;
> > > include fastcgi_params;
> > > }
>
> > > location /bigbluebutton {

> > > proxy_passhttp://192.168.1.157:8080;


> > > proxy_redirect default;
> > > proxy_set_header X-Forwarded-For
> > > $proxy_add_x_forwarded_for;
>
> > > client_max_body_size 10m;
> > > client_body_buffer_size 128k;
>
> > > proxy_connect_timeout 90;
> > > proxy_send_timeout 90;
> > > proxy_read_timeout 90;
>
> > > proxy_buffer_size 4k;
> > > proxy_buffers 4 32k;
> > > proxy_busy_buffers_size 64k;
> > > proxy_temp_file_write_size 64k;
>
> > > include fastcgi_params;
> > > }
>
> > > location / {

> > > proxy_passhttp://192.168.1.157:80;


> > > proxy_redirect default;
> > > proxy_set_header X-Forwarded-For
> > > $proxy_add_x_forwarded_for;
> > > #walter root /var/www/bigbluebutton-default;
> > > #walter index index.html index.htm;
> > > }
>
> > > location /client {

> > > proxy_passhttp://192.168.1.157:80;

> > > > proxy_passhttp://172.19.3.9:8088;


> > > > proxy_redirect off;
> > > > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> > > > client_max_body_size 10m;
> > > > client_body_buffer_size 128k;
>
> > > > proxy_connect_timeout 90;
> > > > proxy_send_timeout 90;
> > > > proxy_read_timeout 90;
>
> > > > proxy_buffering off;
> > > > }
>
> > > > location /deskshare {

> > > > proxy_passhttp://172.19.3.9:5080;


> > > > proxy_redirect default;
> > > > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> > > > client_max_body_size 10m;
> > > > client_body_buffer_size 128k;
> > > > proxy_connect_timeout 90;
> > > > proxy_send_timeout 90;
> > > > proxy_read_timeout 90;
> > > > proxy_buffer_size 4k;
> > > > proxy_buffers 4 32k;
> > > > proxy_busy_buffers_size 64k;
> > > > proxy_temp_file_write_size 64k;
> > > > include fastcgi_params;
> > > > }
>
> > > > location /bigbluebutton {

> > > > proxy_passhttp://172.19.3.9:8080;


> > > > proxy_redirect default;
> > > > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> > > > client_max_body_size 10m;
> > > > client_body_buffer_size 128k;
>
> > > > proxy_connect_timeout 90;
> > > > proxy_send_timeout 90;
> > > > proxy_read_timeout 90;
>
> > > > proxy_buffer_size 4k;
> > > > proxy_buffers 4 32k;
> > > > proxy_busy_buffers_size 64k;
> > > > proxy_temp_file_write_size 64k;
>
> > > > include fastcgi_params;
> > > > }
>
> > > > location / {

> > > > proxy_passhttp://172.19.3.9:81;


> > > > proxy_redirect default;
> > > > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> > > > #walter root /var/www/bigbluebutton-default;
> > > > #walter index index.html index.htm;
> > > > }
>
> > > > location /client {

> > > > proxy_passhttp://172.19.3.9:81;

Richard Alam

unread,
Feb 1, 2010, 5:52:34 PM2/1/10
to bigblueb...@googlegroups.com
Hi Chesco,

You can take a look at /var/bigbluebutton to see if your uploaded
presentation got converted. Also, you can take a look at
the log at /var/log/bigbluebutton/bbb-web.log to check the conversion logs.

The music on hold is /var/lib/asterisk/moh

Richard

--
---
BigBlueButton
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

Francesc Porcel

unread,
Feb 1, 2010, 6:02:04 PM2/1/10
to bigblueb...@googlegroups.com
Richard, the presentations seems to be converted (in *.swf) but the window stay blocked showing the message "the uploaded document is supported"

Thanks




2010/2/1 Richard Alam <ritz...@gmail.com>
bug-BBB_0.63.JPG
Reply all
Reply to author
Forward
0 new messages