Web Filter for Your Network
  • Administrators Guide 8.4 (Develop)
  • Administrators Guide 8.3 (Stable)
  • Administrators Guide 7.6 (Old Stable)
  • Version History
  • Frequently Asked Questions (FAQ)
  • Web Filter Tutorials
    • Transparent HTTPS Web Filter with Squid, Cisco ASA and ICAP
    • Transparent HTTPS filtering on RedHat / CentOS 8
    • Transparent HTTPS Filtering Proxy on Debian 10
    • Transparently filtering HTTPS with Squid and Policy Based Routing
    • Setting up Transparent Squid Proxy with Mikrotik
      • Network Description
      • Mangle HTTP and HTTPS Traffic and Prepare for Re-Routing
      • Route Marked Traffic to Squid Proxy
      • Ensure NAT Rule is Applied to WAN Interface Only
      • Configure Transparent Interception on Squid
      • Verify HTTPS and HTTP are filtered
      • Conclusion
      • References
    • Web Filtering Proxy for Microsoft Azure
    • Azure Active Directory Authentication on Squid
    • Web Filtering Proxy in Amazon AWS
    • Filtering DNS and HTTPS Traffic on pfSense
  • How to Build Squid
  • Other Projects
  • Archived (Obsolete) Articles
Web Safety
Download Virtual Appliance
Web Filter for Your Network
  • Docs »
  • Web Filter Tutorials »
  • Setting up Transparent Squid Proxy with Mikrotik

Setting up Transparent Squid Proxy with MikrotikΒΆ

  • Network Description
    • Mikrotik Router
    • Client Workstation in the LAN
  • Mangle HTTP and HTTPS Traffic and Prepare for Re-Routing
    • Rule 1. Accept HTTP traffic from proxy box
    • Rule 2. Accept HTTPS traffic from proxy box
    • Rule 3. Mark Traffic to Port 80
    • Rule 4. Mark Traffic to Port 443
    • Rule 5. Accept Marked Packets
    • Final Mangle Table
  • Route Marked Traffic to Squid Proxy
  • Ensure NAT Rule is Applied to WAN Interface Only
  • Configure Transparent Interception on Squid
    • Step 1. Set the proxy IP address
    • Step 2. Enable Gateway Mode
    • Step 3. Redirect traffic to local Squid instance
  • Verify HTTPS and HTTP are filtered
  • Conclusion
  • References
Next Previous

© Copyright 2022, Diladele B.V.