Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Reverse proxy squid3 problem

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 747 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Darkmagister
      last edited by

      hi, i've followed a lot of thread and guide here and on the wiki, to make few sites, in different server behind pfsense firewall with only one ip address accessible from outside
      so i have a pfsense 2.2
      i've installed squid3 and set net.inet.ip.portrange.reservedhigh  to 0 so i can use port lower than 1024

      i've followed a guide, so here my configuration of squid:
      Reverse Proxy interface WAN
      external FQDN domain.com
      Enable HTTP reverse mode
      Port 81 (i've used this port because if i use the default 80 it goes directly to the pfsense login page)
      ok web server i've added one:
      alias dev1
      ip 192.168.10.11
      port 80
      http

      on mapping:
      peer: dev1
      URI: ^http://new.domain.com/.*

      i've also added a rules on firewall:
      from WAN
      port 81

      but now if i try to connect to new.domain.com:81 i receive an access error from squid

      ERROR
      The requested URL could not be retrieved

      Access Denied

      any idea why? any helps?

      thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.