Openappsec WAF setup with Nginx Proxy Manager(SaaS Option)

  Рет қаралды 2,537

#geek2gether

#geek2gether

Күн бұрын

Пікірлер: 13
@verticalfrog1330
@verticalfrog1330 7 ай бұрын
Hello, can you also make a video with X-Forwarded-For Header in HTTP Requests as the Source Identity? I am using Nginx Web Proxy Manager with Cloudflare. TIA!
@geek2gether469
@geek2gether469 7 ай бұрын
If you are looking to get the real ip of the client it is a pretty simple change, however the change needs to be made in Nginx proxy manager. In the Nginx proxy manager , open a proxy host and go to advance configuration then paste the following: set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; set_real_ip_from 103.31.4.0/22; set_real_ip_from 104.16.0.0/13; set_real_ip_from 104.24.0.0/14; set_real_ip_from 108.162.192.0/18; set_real_ip_from 141.101.64.0/18; set_real_ip_from 162.158.0.0/15; set_real_ip_from 172.64.0.0/13; set_real_ip_from 173.245.48.0/20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 190.93.240.0/20; set_real_ip_from 197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 2400:cb00::/32; set_real_ip_from 2606:4700::/32; set_real_ip_from 2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/32; set_real_ip_from 2a06:98c0::/29; set_real_ip_from 2c0f:f248::/32; real_ip_header CF-Connecting-IP; real_ip_recursive on; Once pasted, save and repeat for all your other proxy hosts if needed. The above config is a list of cloudflare IP's and will replace the source ip header with the clients ip actual ip. Now you can go back to openappsec and set source identity to "source IP" and enforce the policy. Thats it, you should be able to now get the clients IP instead of cloudflares. Note: The X-Forwarded-For Header only will accept single IPs and not subnets such as 10.0.0.1/24. So this will work if you have an internal proxy and not cloudflare. Please like and share!
@allxtechnologies
@allxtechnologies 6 ай бұрын
Love your videos! I've been looking into this for a while now. There is any way to selfhost the dashboard instead of connecting it to saas?
@geek2gether469
@geek2gether469 6 ай бұрын
Yes there is a self hosted option. I’m actually working on a video for that!
@nightbot4773
@nightbot4773 7 ай бұрын
Hello, I want to ask, how about doing it to protect the http in localhost, can you help me to do an experiment 🙏
@geek2gether469
@geek2gether469 7 ай бұрын
Head over to hub.geek2gether.com/c/openappsec/17 and post a question about what you need help with.
@nightbot4773
@nightbot4773 7 ай бұрын
OK, thank you, I'll wait for your answer there​@@geek2gether469
@PowerUsr1
@PowerUsr1 7 ай бұрын
excellent work !!!
@geek2gether469
@geek2gether469 7 ай бұрын
Thank you for watching
@Neo198431
@Neo198431 3 ай бұрын
Which should I use for npm crowdsec or open appsec?
@graiden
@graiden 14 күн бұрын
Open appsec will protect a website much better it's a waf
@arjuna5051
@arjuna5051 3 ай бұрын
Can I install this in the web server itself? Using nginx and hosting multiple websites. Can't afford another server.
@geek2gether469
@geek2gether469 3 ай бұрын
Yes you can install it on Nginx without NPM. I am working on a Nginx video
SafeLine: A Feature-Rich WAF with a Catch (or Two)
26:53
DB Tech
Рет қаралды 9 М.
open-appsec WAF machine learning deep dive
1:13:10
open-appsec
Рет қаралды 1,7 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Free Open Source WAF SafeLine
7:26
The Curious Guy
Рет қаралды 413
FREE Domain and SSL for Local Network | Nginx Proxy Manager on Docker - #13
16:22
Tech - The Lazy Automator
Рет қаралды 83 М.
open-appsec NGINX WAF Tutorial
6:44
open-appsec
Рет қаралды 8 М.
Configure NGINX as a Reverse Proxy
16:43
NGINX
Рет қаралды 232 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 247 М.
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 307 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН