Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Resource Nginx Reverse Proxy + Mod Security WAF + fail2ban + geoip2 - XtreamUI | Streamcreed [Deleted]

Status
Not open for further replies.

sbarboff

Extended Member
Ext. Member
Banned
Joined
Sep 19, 2019
Messages
26
Reaction score
224
Points
39
Location
Topolonia
sbarboff submitted a new resource:

Nginx Reverse Proxy + Mod Security WAF + fail2ban + geoip2 - streamcreed, xtream ui proxy

Reverse proxy for streamcreed / Xtream UI

Proxy Install v1.0
OS Ubuntu 20.04 LTS Server
Register for free to get accountID and licenseKEY fro geoip2 lite at : https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en


- Nginx , Mod Security , Fail2ban , Mariadb for store ip banned ( next version whit webadmin ).
- Block User Agent -> /etc/nginx/useragent.rules
- Block ISP -> /etc/nginx/block_isp.conf
- Block ASN Number -> /etc/nginx/block_asn.conf
- Country...

Read more about this resource...
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
reverse proxy for protect main server streamcreed / Xtream UI .
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
- Nginx , Mod Security , Fail2ban , Mariadb for store ip banned ( next version whit webadmin ).
- Block User Agent -> /etc/nginx/useragent.rules
- Block ISP -> /etc/nginx/block_isp.conf
- Block ASN Number -> /etc/nginx/block_asn.conf
- Country Whitelist -> /etc/nginx/country_whitelist.conf ( Default block all country ) ( possibility to block for example US country but exclude some ip/range from US ( https://it.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
- IP Whitelist for exclusion to req_limit zone -> /etc/nginx/ip_whitelist.conf
- SQL Injection prevention
- Ip Whitelist for exclusion to fail2ban -> /etc/fail2ban/jail.local find line :
 
Very beautiful and interesting work, worth trying
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
checked
is great to protect main, not streaming port, for streaming port need to remove blocks all 4XX
 
hi

Very nice script :cool:
Best way to check database Mariadb for store ip banned ?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
How to use 2 or more port, lets say 25461 and 25463
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
add second listen port in nginx.conf :


listen 25461;
listen 25463;
yes i know that, but what about jail.local

[nginx-req-limit]

enabled = true
filter = nginx-req-limit
action = iptables-multiport[name=ReqLimit, port="25461", port="25463", protocol=tcp]
banned_db[name=ReqLimit, port="25461", port="25463", protocol=tcp]
logpath = /var/log/nginx/*error.log
findtime = 600
bantime = 7200
maxretry = 10

[nginx-4xx]
enabled = true
port = http,https
action = iptables-multiport[name=nginx-4xx, port="25461", port="25463", protocol=tcp]
banned_db[name=ReqLimit, port="25461", port="25463", protocol=tcp]
logpath = /var/log/nginx/access.log
findtime = 600
maxretry = 10
bantime = 7200


[DEFAULT]
ignoreip = 127.0.0.1/8 10.0.0.0/8 192.168.0.0/16 172.16.0.0/16

is this the right way to do it? And is there other config i have to edit?
 
try :


action = iptables-multiport[name=nginx-4xx, port="25461,25463", protocol=tcp]
banned_db[name=ReqLimit, port="25461,25463", protocol=tcp]
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Content like this should have more accessibility, but in fact you deserve to receive something for bringing good content to the community, unfortunately I don't think I'll ever be able to buy this content here on the forum, so I'll try to do at least a little bit of this using google, congratulations on the content .
 
try :


action = iptables-multiport[name=nginx-4xx, port="25461,25463", protocol=tcp]
banned_db[name=ReqLimit, port="25461,25463", protocol=tcp]
hy mate how to use it i install it on new fresh ubuntu 20 and how to use it now ?
 
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top