Tbrg Adguardnet Publicphp Work Today
curl -H "User-Agent: Mozilla/5.0" https://tbrg.yoursite.com/public.php?test=1 If you get a response and AdGuard log shows allowed , your setup works. Situation: A developer named Alex runs a small analytics dashboard. The dashboard’s public.php collects user agent and referrer data, then sends it to a third-party ad network’s conversion pixel.
Sample docker-compose.yml :
@@||tbrg.yoursite.com/public.php^$all Or if you want to allow only GET requests: tbrg adguardnet publicphp work
Alex creates an internal endpoint /tbrg/public-proxy.php . This script stores data locally, then batched-sends it to the ad network using a non-blocked user-agent and custom domain. They add AdGuard rule: @@||dashboard.com/tbrg/public-proxy.php^$all . curl -H "User-Agent: Mozilla/5
Add to :
PHP works, AdGuard continues blocking other tracking. Common Errors and Fixes | Error in PHP log | Likely Cause | Fix in AdGuardNet | |----------------|--------------|--------------------| | failed to open stream: Connection refused | External API DNS blocked | Allowlist API domain | | ModSecurity: Access denied with code 403 | AdGuard URL filter | Use @@ exception rule | | empty response from server | HTTPS filtering stripping content | Disable “Filter HTTPS” for your domain | | session_start(): headers already sent | AdGuard injects header? | Rare — clear cache, check custom rules | Advanced: Running PHP Work Inside a TBG VPN Container If “tbrg” is a literal container name (e.g., tbrg-adguardnet-publicphp ), you might run AdGuard Home inside Docker alongside PHP-FPM. Sample docker-compose
AdGuardNet blocks the pixel request, and the PHP script returns an error.