Tag: Proxy

  • Kubernetes – Allow Only Cloudflare CDN Through Nginx Ingress

    Kubernetes – Allow Only Cloudflare CDN Through Nginx Ingress

    If you are like me, and enjoy the world-encompassing CDN from Cloudflare, you “proxy” your domain through Cloudflare towards your Kubernetes Ingress. Why then, should you allow any other traffic to the Ingress? Here’s how to whitelist Cloudflare only in Nginx Ingress. Cloudflares IP-ranges can be found here: https://www.cloudflare.com/ips/ Whitelist them on the Nginx Ingress…

  • Secure SOCKS Proxy Over SSH

    Secure SOCKS Proxy Over SSH

    Tunneling traffic encrypted through a VPN tunnel is not always necessary. If endpoint anonymity is not an issue, or if its just a matter of carrier/LAN distrust. A Socks Proxy SSH Tunnel will be just fine. Initiate the tunnel like so: Where [ssh.endpoint.tld] is your server of choice. Once the connection is active, point your…

  • How To: Redirect HTTP Traffic to Proxy Using iptables

    Proxy Madness Using Squid or any other proxy for transparent caching/filtering of HTTP traffic has many benefits, being for logging purposes or the aforementioned use-cases, keeping every client configured can be a nuance. Networking equipment from Cisco and Juniper has the ability to redirect all passing HTTP traffic, in IOS and JunOS respectively, to the…

  • How To: Linux – View Squid Proxy’s Active Cache Store

    Ever wanted to see whats going through Squid’s cache right at the moment? But get immediately discouraged with all the timestamps, SWAPOUT, RELEASE and other cache variables? I have a one-line for you! ~ # tail -f /var/log/squid/store.log|grep -oE ‘\b(http?)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]’ This will print out visited links that passes by squid in real time, it can…