Varnish sample vcl for rtmp / m3u8 stream Rumi, March 18, 2023 vcl 4.0; import std; backend default { .host = "127.0.0.1"; .port = "8090"; } acl purge { "127.0.0.1"; } sub vcl_recv { if(req.method == "PURGE"){ if (!client.ip ~ purge) { return(synth(405,"Not allowed.")); } return (purge); } return (hash); } sub vcl_backend_response { if (bereq.url ~ "m3u8") { # assuming chunks are 2 seconds long set beresp.ttl = 1s; set beresp.grace = 0s; } else { set beresp.ttl = 10m; set beresp.grace = 5m; } } Related Configurations (Linux) Varnishvarnish 4vcl
Proxmox Firewall Service Disable using Command March 20, 2024 Chrooting and then doing: systemctl disable pve-firewall systemctl mask pve-firewall should do the trick. then after rebooting and fixing your config, systemctl unmask pve-firewall systemctl enable pve-firewall systemctl start pve-firewall Should return to the defaults again. Ports used by Proxmox VE Web interface: 8006 (TCP, HTTP/1.1 over TLS) VNC Web… Read More
Obtaining pfsense 2.2.4 as ISO October 17, 2015 PFSense is a very strong firewall as my alternative for Endian (BSD Vs. Redhat-Linux) Here’s the direct download link- http://files.nl.pfsense.org/mirror/downloads/pfSense-LiveCD-2.2.4-RELEASE-amd64.iso.gz How to extract? gzip -d pfSense-LiveCD-2.2.4-RELEASE-amd64.iso.gz Voila! your unzipped ISO is now available. 🙂 Related Read More
Create Customer Linux Distribution October 27, 2012October 27, 2012 Remastersys We’ve previously covered Remastersys. It’s one of a group of tools that create your ISO files using the filesystem on which it’s being run. You essentially clone your current Debian/Ubuntu install and make it into a live CD. This makes it extremely easy to customize every little thing about… Read More