SRX UTM Web Filtering
SRX UTM Web Filtering
On SRX, you can configure different types of web filtering. On this post, I would like to talk
about
Topology of our setup is below. As obvious, we will filter HTTP requests sent by the PC towards
Internet.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
}
}
custom-url-category {
bad-sites {
value blocked-urls;
}
good-sites {
value allowed-urls;
}
}
As you can see we create our objects (URLs or patterns) under url-pattern and
reference these objects under custom-url-category.
Now we create feature profile in which we reference our local URL objects along
with the fallback settings.
[edit security utm]
root@srx# show feature-profile
w eb-filtering {
url-w hitelist good-sites;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Now we need to assign this local profile to a utm policy e.g wf-local
[edit security utm]
root@srx# show utm-policy w f
w eb-filtering {
http-profile w f-local;
1
2
3
4
5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[edit]
root@srx# show security policies
from-zone TRUST to-zone INTERNET {
policy trust-internet {
match {
source-address n172.4.1.4_30;
destination-address any;
application [ junos-http junos-dns-udp junos-ping ];
}
then {
permit {
application-services {
utm-policy wf-local;
}
}
}
}
}
Now utm policy wf-local is assigned for this particular traffic. We are ready
to filter requests.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
1
2
1
2
3
4
5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1
2