Forum Discussion
Stanislas_Piro2
Apr 02, 2018Cumulonimbus
You can work with a code like that:
iRule to assign to webtop VS
when ACCESS_ACL_ALLOWED {
table set -subtable enforcewebtop [IP::client_addr] [ACCESS::session sid] [PROFILE::access inactivity_timeout] [PROFILE::access max_session_timeout]
}
iRule to assign to Forwarding VS
when CLIENT_ACCEPTED {
if {!([set sid [table lookup -subtable IPAdmins [IP::client_addr]]] ne "" && [ACCESS::session exists -state_allow $sid])} {
drop
}
}