Flash threw HAProxy



  • I hope someone could give me a hand with this.
    I am using pfSense 2.43. with HaProxy 0.54_2. I have it setup pointing to 2 different servers on my lan, (1) IIS8.5 (This works) and a  (2) (Adobe media server 5) on the Apache box (almost works). The straight web access works for both sites. The Apache site with AMS5 has 2 live streams one flash player embed in my web site and one for mobile access, neither of these play threw  HAProxy (works when it is a stand alone server with direct access (no HAProxy) )

    Any and all suggestions or help would be greatly appreciated. (The live flash streams are of my dogs, for family and friends.)
    Here is my pfSense HAProxy config:

    global
    maxconn 1000
    stats socket /tmp/haproxy.socket level admin
    gid 80
    nbproc 1
    chroot /tmp/haproxy_chroot
    daemon
    server-state-file /tmp/haproxy_server_state

    listen HAProxyLocalStats
    bind 127.0.0.1:2200 name localstats
    mode http
    stats enable
    stats admin if TRUE
    stats uri /haproxy/haproxy_stats.php?haproxystats=1
    timeout client 5000
    timeout connect 5000
    timeout server 5000

    frontend incoming
    bind 24...212:80 name 24...212:80 
    bind 24...212:1935 name 24...212:1935 
    mode http
    log global
    option http-keep-alive
    timeout client 30000
    acl pest hdr(host) -i www.IIS.com
    acl rebel hdr(host) -i www.Apache AMS5.com
    use_backend IIS_http_ipv4  if  pest
    use_backend Apache AMS5_http_ipv4  if  rebel

    backend IIS_http_ipv4
    mode http
    log global
    timeout connect 30000
    timeout server 30000
    retries 3
    source ipv4@ usesrc clientip
    option httpchk OPTIONS / HTTP/1.1\r\nHost:\ www.IIS.com
    server backupR7 192.168.1.50:80 check inter 1000  weight 1

    backend Apache AMS5_http_ipv4
    mode http
    log global
    timeout connect 30000
    timeout server 30000
    retries 3
    source ipv4@ usesrc clientip
    option httpchk OPTIONS /
    server pupcam 192.168.1.10:80 check inter 1000  weight 1

    Firewall Rules:
    IPv4 TCP  *  *  This Firewall  80 (HTTP)  *  none 
    IPv4 TCP  *  *  This Firewall  1935  *  none



  • Whats that 1935 port for? Are you sure its supposed to effectively connect to :80 ? Is it even 'http' traffic?



  • The 1935 in the firewall rules was a shot in the dark to fix why it may not be working.

    The web site itself is http, This is what I am using "https://helpx.adobe.com/adobe-media-server/dev/stream-on-demand-media-http.html"