Got it

Block website

Created: Aug 9, 2018 15:04:57Latest reply: Aug 16, 2018 11:42:57 1112 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)
Hi,


Is there a way I can block access to certain websites on the Huawei AP4030DN?



Thanks,
Eric

Featured Answers
Hello Eric,

Yes the AP can do URL filtering, in the below example i have set the default action allow, this way all websites will be allowed except the ones specified in blacklist.

You can do it in another way and put the default action block, and instead of add blacklist you will use add whitelist, this second method will block every url by default and only allow the urls specified in the whitelist.

please follow the below CLI steps:

<Huawei>sys
[Huawei] profile type url-filter name test
[Huawei-profile-url-filter-test] add blacklist url www.example.com
[Huawei-profile-url-filter-test] add blacklist url www.youtube.com
[Huawei-profile-url-filter-test] https-filter enable
[Huawei-profile-url-filter-test] default action allow
[Huawei-profile-url-filter-test]q
[Huawei] engine configuration commit

[Huawei] defence-profile name defence_wlan
[Huawei-defence-profile-defence_wlan] profile type url-filter test
[Huawei-defence-profile-defence_wlan] quit

[Huawei] wlan
[Huawei-wlan-view] vap-profile name Guests
[Huawei-wlan-vap-prof-Guests]defence-profile defence_wlan

If my answer helped solve your problem i would appreciate if you would give me the best answer flag.
View more
  • x
  • convention:

All Answers
Hello Eric,

Yes the AP can do URL filtering, in the below example i have set the default action allow, this way all websites will be allowed except the ones specified in blacklist.

You can do it in another way and put the default action block, and instead of add blacklist you will use add whitelist, this second method will block every url by default and only allow the urls specified in the whitelist.

please follow the below CLI steps:

<Huawei>sys
[Huawei] profile type url-filter name test
[Huawei-profile-url-filter-test] add blacklist url www.example.com
[Huawei-profile-url-filter-test] add blacklist url www.youtube.com
[Huawei-profile-url-filter-test] https-filter enable
[Huawei-profile-url-filter-test] default action allow
[Huawei-profile-url-filter-test]q
[Huawei] engine configuration commit

[Huawei] defence-profile name defence_wlan
[Huawei-defence-profile-defence_wlan] profile type url-filter test
[Huawei-defence-profile-defence_wlan] quit

[Huawei] wlan
[Huawei-wlan-view] vap-profile name Guests
[Huawei-wlan-vap-prof-Guests]defence-profile defence_wlan

If my answer helped solve your problem i would appreciate if you would give me the best answer flag.
View more
  • x
  • convention:

Hi,

Thanks for your reply, can I ask if there's way to do it via the web portal?


Thanks,
eric
View more
  • x
  • convention:

Hi Eric,

I have not found in documentation a way to do it using the web-gui, so most probably its not possible.
If you use the above steps i provided you should not encounter any issue.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.