16
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
17
Web Proxy Filtering and Caching / Re: Could naxsi support block empty user-agent?
« on: November 06, 2020, 03:16:46 am »
I test it.It's can't block it.
18
Web Proxy Filtering and Caching / Re: Could naxsi support block empty user-agent?
« on: November 06, 2020, 03:05:56 am »
OK,I will test it.Thanks a lot.
19
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 05, 2020, 09:40:10 am »
Thanks.I found log format problem.I fix it.It's all ok.Thank you very much.
20
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 05, 2020, 08:05:37 am »
In the Opnsense/nginx log.The remote IP is show real IP.So I need change apache or nginx web server.Right?
21
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 05, 2020, 07:27:51 am »
OK,I restart opnsense nginx but also show opnsense IP.Could I need setup any option?
22
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 05, 2020, 07:16:38 am »
Please see attachment.
This Real IP option.What I need switch it?
This Real IP option.What I need switch it?
23
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 05, 2020, 06:07:13 am »
I already enable X-Forward-For but web server access.log also show nginx server IP
Attachment is web server access.log
Attachment is web server access.log
24
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 05, 2020, 02:53:59 am »no. with this setting you direct nginx where to look for real client IP (in case its another proxy in front of nginx).So besides enabling X-Forward-For, should I set something on the web server? Or should I set other things on nginx?
nginx already sends real client IP with X-Forwarded-For header.
you just need to enable this field on upstream log
25
Web Proxy Filtering and Caching / Re: Nginx reverse proxy will get "broken header"
« on: November 05, 2020, 02:49:08 am »
The Trust Proxy mean really web server?
26
Web Proxy Filtering and Caching / Could naxsi support block empty user-agent?
« on: November 05, 2020, 02:42:39 am »
Hello,
I know nginx can use hook to add block empty user-agent.I want know naxsi could support it?
I know nginx can use hook to add block empty user-agent.I want know naxsi could support it?
27
20.7 Legacy Series / Re: Could add custom config to nginx.conf?
« on: November 05, 2020, 02:40:43 am »
Thanks a lot.I found it
28
Web Proxy Filtering and Caching / Re: [TUTORIAL] Nginx as simple reverse proxy with web application firewall and SSL
« on: November 04, 2020, 09:58:50 am »Search in config for X-ForwardI choose X-Forward-for at Real IP and apply it.But it's still not show real IP.
29
20.7 Legacy Series / Re: How to add naxsi rules by api?
« on: November 04, 2020, 09:48:42 am »
Hit F12 in browser, network tab, add a naxsi rule via browser and look at the correct syntax of your browser
30
20.7 Legacy Series / Could add custom config to nginx.conf?
« on: November 04, 2020, 08:43:17 am »
I want add some config to nginx plugins.But I can't found where to do it.Could opnsense support it?