Forum Discussion
ehergott_345008
Nimbostratus
Mar 28, 2018Apply iRule to Forwarding IP virtual server
Have a virtual server set up as a Forwarding IP virtual server. Older hardware one of the only ways I could get it to work. Virtual server is same IP as the server itself. I have an iRule to need to ...
stan_piron
Cumulonimbus
Apr 02, 2018You 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
}
}