kirk_stanford_5
Sep 23, 2014Nimbostratus
iRule redirect to URI based on source network
I need to redirect most internal RFC 1918 networks to a URL and then everything else redirect to a different URL. The specifics are below:
If one of these networks:
10.0.0.0/8
192.168.0.0/16
172.16.0.0/16
172.18.0.0/16
172.19.0.0/16
172.20.0.0/16
172.21.0.0/16
172.22.0.0/16
172.23.0.0/16
172.24.0.0/13
Go to URL http://www.somewebsite.com/internal.html
All else go to URL http://www.somewebsite.com/external.html
Thanks for the help.
Kirk Stanford