is it possible that we can block any port to access lets say, 8080 to get blocked from outer-world except our certain ip address? I know how to block the ip address using
listen ...
...
acl bad_ip src XXX.XXX.XXX.XXX #Any Bad IP
use_backend block_ip if bad_ip
...
backend block_ip
mode http
errorfile 403 /etc/haproxy/errors/403.http
but I am stucked with blocking the port.