Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBB behind WAF (80/443 requests) #20182

Closed
cod3r0k opened this issue May 7, 2024 · 6 comments
Closed

BBB behind WAF (80/443 requests) #20182

cod3r0k opened this issue May 7, 2024 · 6 comments

Comments

@cod3r0k
Copy link

cod3r0k commented May 7, 2024

I am trying to install BigBlueButton (BBB) behind a Web Application Firewall (WAF) within a local network, which means that BBB does not have a public IP address. Initially, I used a self-signed certificate for our BBB setup and everything worked well. However, when I added the WAF between the user and BBB, it blocked the user's requests, preventing them from reaching BBB. This issue arises because BBB, configured with a self-signed certificate, runs on port 80 (as verified in /etc/nginx/sites-available/bigbluebutton). It also uses HAProxy (/etc/haproxy/haproxy.cfg) which binds requests to port 443. This setup causes the WAF to block the request when another proxy is involved. How can we effectively use BBB with a WAF? I suspect there might be an issue with the use of a self-signed certificate, or perhaps the problem stems from another issue. Unfortunately, I don't have web access when trying to use the WAF. Please help us resolve this issue

@cod3r0k
Copy link
Author

cod3r0k commented May 9, 2024

Is there any solution available where BBB can use port 443 directly without using HA and upstream? @ffdixon

@cod3r0k
Copy link
Author

cod3r0k commented May 11, 2024

Do we have any solution for routing Nginx to 443 instead of 80 (as we have currently in /etc/nginx/site-available/bigbluebutton directly? @antobinary

@antobinary
Copy link
Member

Hi @cod3r0k
I have not tried WAF before, I don't have immediate recommendations.
Would you consider posting this question on https://groups.google.com/g/bigbluebutton-setup ? Ideally with the steps to reproduce the setup.

Also, have you tried the same setup but without haproxy? Possibly adding haproxy to be the last step, after WAF?

@cod3r0k
Copy link
Author

cod3r0k commented May 11, 2024

Dear @antobinary

I am currently using BBB version 2.7, which installs HAProxy by default. However, I recall that in version 2.6 and earlier versions, it was possible to configure the system to listen on port 443 directly through the /etc/nginx/site-available/bigbluebutton file, bypassing HAProxy.

I would like to test the latest version without HAProxy to see if it resolves my issues. Could you please provide any guidance or documentation on how to set up BBB 2.7 without HAProxy?

Thank you for your assistance.

@ffdixon
Copy link
Member

ffdixon commented May 11, 2024 via email

@antobinary
Copy link
Member

Merging into #20313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants