how to block website

MikroTikRouterOS RB450G
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

how to block website

文章 yehlu »

https://forum.mikrotik.com/viewtopic.php?t=30290

代碼: 選擇全部

;;; dstnat unwanted sites
chain=dstnat action=dst-nat to-addresses=127.0.0.1 
dst-address-list=restricted sites
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: how to block website

文章 yehlu »

代碼: 選擇全部

nslookup ptt.cc
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	ptt.cc
Address: 140.112.172.4
Name:	ptt.cc
Address: 140.112.172.5
Name:	ptt.cc
Address: 140.112.172.1
Name:	ptt.cc
Address: 140.112.172.11
Name:	ptt.cc
Address: 140.112.172.3
Name:	ptt.cc
Address: 140.112.172.2
回覆文章

回到「RouterOS」