Options

IP Based Authentication with pbslb

mischamischa Member
When you want to allow certain IPs to specific content.

The PBSLB List:
! BWList 10.0.0.1/32 1 10.10.10.10/32 1 172.16.0.0/16 1

The aFleX:
when HTTP_REQUEST { if { ([HTTP::uri] starts_with "/certain_url") } { switch [POLICY::bwlist id[IP::remote_addr] BWList] { "1" { pool sg-http } default { log "Rejected ip address" [IP::client_addr] HTTP::redirct "/forbidden_url.html" } } } }
Sign In or Register to comment.