Forum Discussion
Jim_Weis_43660
Nimbostratus
Feb 12, 2008Source address restriction to Virtual Server
Hello all,
I have a virtual server that our application guys have asked me to restrict access to, based upon the source IP address.
They simply want to drop traffic for any address not in an...
That's a good explanation. Just one small edit: you don't need to use IP::addr with class commands.
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals mynetworks] } {
pool matching.pool.name
}
else {
pool nonmatching.pool.name
}
}
Aaron