How to configure openDNS+Squidguard and googleDNS with two IP ranges



  • Hello all,
    I'm trying to do as illustrate below and setting:
    Alias: IP1_30 (192.168.1.1-30) and IP31_254 (192.168.1.31-254)

    Goal:

    1. IP1_30 using google DNS (using DHCP and/or statics IP with googleDNS)
    2. IP31_254 using Squidguard and openDNS
    3. prevent IP31_254 using any public DNS

    Current achieved:

    1. IP31_254 using Squidguard and openDNS (DHCP assign with openDNS)
    2. prevent IP31_254 using any public DNS

    Not achieve:
    IP1_30 able to by pass Squidguard but couldn't pass openDNS (setup static DNS with googleDNS in client computer)

    Current Firewall/NAT/PortForward:

    Interface  Protocol  Source Address  Source Ports  Dest. Address  Dest. Ports  NAT IP  NAT Ports  Description  Actions
    LAN  TCP/UDP  *  *  OpenIP 1 30  53 (DNS)  8.8.8.8  53 (DNS)      open to public DNS  (doesn't work)
    LAN  TCP/UDP  *  *  ! IP31 254  53 (DNS)  208.67.222.222  53 (DNS)  redirect DNS

    Current Firewall/Rules/LAN:

    Protocol  Source  Port  Destination  Port  Gateway  Queue
    IPv4 TCP/UDP  OpenIP 1 30  *  8.8.8.8  53 (DNS)  *  none

    IPv4 TCP  ! IP31 254  *  ! LAN address  53 (DNS)  *  none

    Current System/General Setup
    DNS Server 1: openDNS ip1 (208.67.220.220)
    DNS Server 1: openDNS ip2 (208.67.222.222)
    Disable DNS Forwarder: Checked

    Any ideas?
    server info:
    pfSense 2.3.2-release-p1 (amd64)
    1 WAN
    1 LAN
    no vlan
    squid proxy
    squidguard
    DNS Resolver
    DHCP Server

    Thanks,
    JF