edgerouter x 問題

本帖最後由 beeno2211 於 2019-5-23 21:13 編輯

想入去CLI 頁面度打command set 野,入左去之後會叫你再打多次個router account 同密碼,但打完個account落左打密碼果一行,就乜都打唔到。
我想block website 既功能,洗唔洗一定要入CLI 先set到,喺出面router UI做唔做到??

打完個account落左打密碼果一行<-- 會唔會只係無顯示你打咩,你照入pw 再enter 就得?

TOP

回覆 2# rfdingo

嘩,咁都俾你諗到,真係喎

TOP

唔知有冇C兄喺度?
configure
set service webproxy domain-block pubads.g.doubleclick.net
set service webproxy listen-address (yourEdgeRouterIP)
commit
save
我想block 左幾個ads,我set完之後只有電腦block 到,其他手機個D都block 唔到,唔知邊度出左問題?

TOP

唔知有冇C兄喺度?
configure
set service webproxy domain-block pubads.g.doubleclick.net
set service we ...
beeno2211 發表於 2019-5-23 23:00

使乜咁block?
用dns 咪得囉!

via HKEPC IR Pro 3.5.1 - iOS(2.4.1)

TOP

本帖最後由 beeno2211 於 2019-5-23 23:16 編輯

回覆 5# 556556bt
多謝C兄回覆!
我之前試過呀,搞到上網好慢,先想經router block
宜家block左,但只有block 個部PC先work,其他裝置都唔work,唔知係唔係set少左野

TOP

本帖最後由 alanh999 於 2019-5-24 11:19 編輯

回覆 6# beeno2211


You should setup static DNS record and DNS request forwarding in your router to achieve network-wide ad block.
"(domain name to block)" > 127.0.0.1
Capture all TCP/UDP port 53/5353 traffic and redirect to router's LAN IP

Or you can setup a Raspberry Pi with pihole installed as DNS forwarder for your network to achieve the same result. Pihole will manage all the block lists itself so it's easier for beginners.

TOP

回覆 7# alanh999

多謝c兄回覆!
固定ip已經set左✓
係唔係即係要
Set service webproxy listen-address 127.0.0.1????

TOP

本帖最後由 alanh999 於 2019-5-24 21:14 編輯

回覆 8# beeno2211


    I don't use edgerouter so I can't tell for sure how you should set it.

You may try to follow steps in the website below. Be prepared to reset your router if something goes wrong......

https://gist.github.com/MartinSo ... e7094facbff811b0312

BTW, web proxy on edgerouter is probably useless if the websites use HTTPS.

TOP

唔知有冇C兄喺度?
我想喺個CLI度load個webproxy blacklists出黎
run update webproxy blacklist
之後彈左:
sudo: /opt/vyatta/bin/sudo-users/vyatta-sg-blacklist.pl: command not found"
reset 過部機都唔得
求解

TOP