English Forums > Web Proxy Filtering and Caching

After some help with HAProxy

<< < (4/4)

dustymiller259:
Nope the single rule and condition is still there, it does not show in the config for some reason.

dustymiller259:
So now i have a DNS REbinding issue.

#
# Automatically generated configuration.
# Do not edit this file manually.
#

global
    # NOTE: Could be a security issue, but required for some feature.
    uid                         80
    gid                         80
    chroot                      /var/haproxy
    daemon
    stats                       socket /var/run/haproxy.socket group proxy mode 775 level admin expose-fd listeners
    nbproc                      1
    nbthread                    1
    tune.ssl.default-dh-param   1024
    spread-checks               0
    tune.chksize                16384
    tune.bufsize                16384
    tune.lua.maxmem             0
    log /var/run/log local0 debug

defaults
    log     global
    option redispatch -1
    timeout client 30s
    timeout connect 30s
    timeout server 30s
    retries 3

# autogenerated entries for ACLs

# autogenerated entries for config in backends/frontends

# autogenerated entries for stats


# Frontend: Default_HTTP_Frontend (Push To Synology - Port 80)
frontend Default_HTTP_Frontend
    bind www.millersmail.net:80 name www.millersmail.net:80
    mode http
    option http-keep-alive
    default_backend Web_Traffic_Backend
    # tuning options
    timeout client 30s

    # logging options
    # ACL: VRS
    acl acl_5ede099ae6a2a1.30660197 path_sub -i VirtualRadar

    # ACTION: VRS
    use_backend VirtualRadar_Backend if acl_5ede099ae6a2a1.30660197

# Backend: VirtualRadar_Backend (VRS Server)
backend VirtualRadar_Backend
    # health checking is DISABLED
    mode http
    balance source
    # stickiness
    stick-table type ip size 50k expire 30m 
    stick on src
    # tuning options
    timeout connect 30s
    timeout server 30s
    http-reuse safe
    server VirtualRadar_80 192.168.0.41:80

# Backend: Web_Traffic_Backend (Synology_NAS)
backend Web_Traffic_Backend
    # health checking is DISABLED
    mode http
    balance source
    # stickiness
    stick-table type ip size 50k expire 30m 
    stick on src
    # tuning options
    timeout connect 30s
    timeout server 30s
    http-reuse safe
    server Synology 192.168.0.11:80

cmdr.adama:
Don't use a FQDN for the bind address. Either a specific interface IP or 0.0.0.0

Then that should work fine.

dustymiller259:
Nope, tried with both my external ip & 0.0.0.0 with port 80, and the same DNS REbind error.

Navigation

[0] Message Index

[*] Previous page

Go to full version