1 頁 (共 1 頁)

how to block website

發表於 : 2017-04-18 19:40:57
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

Re: how to block website

發表於 : 2017-04-18 19:43:47
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