【圖解教學】免費路由器 Coyote (北美小銀狼) - 第18頁 - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網 路 硬 體 版


PCZONE 討論區



通知

-- 網 路 硬 體 版 "網路卡" , "HUB" ,"Switch","無線網路產品","頻寬分享器" 等網路硬體產品

雜役

Hi 各位高手,

我用 coyote 當作防火牆, 在防火牆裡面設定了一台 VPN server, 本來想說在 coyote 裡面設定 port forwarding 之後應該就可以用了(我也在防火牆上開通了這個 port), 不過現在看起來並不行.. 我有遺漏了什麼嗎? 或者有人有類似的經驗嗎?

ps. 我測過如果不透過 coyote 是可以使用 VPN 的...

回覆
會員

關於設置IP 192.168.2.3在周一到周五早上8點到下午6點能訪問互聯網範例的問題:
出現
Configuring firewall rules...
iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. Configuring custom firewall rules...
Configuring port forwarding for internal hosts...
Running Line UP Scripts...
的錯誤訊息............
回覆
會員

請問coyote linux 可以做成多wan嗎?
回覆
Kree

引用:
請問coyote linux 可以做成多wan嗎?
Coyote 沒有這個功能

引用:
我用 coyote 當作防火牆, 在防火牆裡面設定了一台 VPN server, 本來想說在 coyote 裡面設定 port forwarding 之後應該就可以用了(我也在防火牆上開通了這個 port), 不過現在看起來並不行.. 我有遺漏了什麼嗎? 或者有人有類似的經驗嗎?

ps. 我測過如果不透過 coyote 是可以使用 VPN 的.
假設對外網卡為: eth0
VPN server 為:192.168.1.1

-----------------------------------------------------------
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j DNAT --to 192.168.1.1

iptables -A FORWARD -i eth0 -o eth1 -p tcp -d 192.168.1.1 --dport 1723 -j ACCEPT

iptables -A FORWARD -i eth0 -o eth1 -p tcp -d 192.168.1.1 --dport 1512 -j ACCEPT

iptables -A FORWARD -i eth0 -o eth1 -p 47 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
---------------------------------------------------------------------

將以上四行,貼到防火牆自訂義檔裡頭,重新啟動防火牆
(記得修改網卡介面,和 VPN server 的IP)
回覆
Kree

引用:
作者: fblueway
關於設置IP 192.168.2.3在周一到周五早上8點到下午6點能訪問互聯網範例的問題:
出現
Configuring firewall rules...
iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. iptables v1.2.11: Couldn't find match `time' Try `iptables -h' or 'iptables --help' for more information. Configuring custom firewall rules...
Configuring port forwarding for internal hosts...
Running Line UP Scripts...
的錯誤訊息............
這個訊息是說:iptables 不認識 time 這個參數,它請你打 iptables --help 查閱 iptables 的幫助文件,看實際上有哪些參數是可以使用的。


具體原因,iptabes 中的 time 參數功能,是 iptables 的外掛模組功能
非內建功能,需要安裝 extensions 才會有這個功能

詳情可參考:
http://www.chinaunix.net/jh/29/188675.html

或者 google 搜尋關鍵字:iptables time
可找到更多資料
回覆
會員

感謝您的回答
可是要如何在BrazilFW上安裝extensions.....
回覆
會員

[QUOTE=linux_xp]Coyote 沒有這個功能

再請問一下,如果要做多wan且有qos的功能,有哪套可達到?
因為實在捨不得花1萬多塊去買聯陽e晶片,但又有這樣的需求
不過看到你這篇教學還是很感謝你的付出.
回覆
Kree

引用:
可是要如何在BrazilFW上安裝extensions.....
一般這種情況,需下載該模組的原始碼,然後編譯

但 Coyote 是嵌入式 Linux 微型系統
如所見的,只有一片磁片容量大小,非常之精簡
由於缺乏gcc、make 等程式,它本身無法進行編譯的

所以 Coyote 都必須使用 Addone 外掛的方式,來擴充功能
可能要去 BrazilFW 網站,找找有沒有這方面的 Addone
沒有的話,就是沒有了

可考慮改用 IPCOP,或直接使用標準版 Linux
記得 IPCOP 的 iptables 好像可以設定 time 參數

另有一種作法是配合 cron 排程
BrazilFW 最新版的,內建 cron 排程
簡單的說,它是一種行事曆的功能
能在指定的日期,指定的時間,讓系統自動執行你要求的程式

換句話說
只要設定某個時間,打開防火牆讓該 IP 通過
某個時間,關閉防火牆讓該 IP 不能通過
效果就是一樣的


引用:
再請問一下,如果要做多wan且有qos的功能,有哪套可達到?
因為實在捨不得花1萬多塊去買聯陽e晶片,但又有這樣的需求
不過看到你這篇教學還是很感謝你的付出.
就我所知,目前沒有任何一套免費的軟體路由器,擁有這樣的功能

但是 Linux 是有多 WAN 功能的,叫做多重路由,能做到負載平衡
實際上聯網 e 晶片,也是基於 Linux 技術的

所以若想 DIY 這種功能,只能選用標準版的 Linux

書籍可以參考這本,裡頭有一章專門講多 wan:
http://www.flag.com.tw/book/5105.asp?bokno=F5340

至於 Linux 的安裝和架設,參考鳥哥的教學網站就好了:
http://linux.vbird.org/
回覆
會員

感謝...好東西...很不錯喔..
回覆
雜役

引用:
作者: linux_xp
Coyote 沒有這個功能



假設對外網卡為: eth0
VPN server 為:192.168.1.1

-----------------------------------------------------------
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j DNAT --to 192.168.1.1

iptables -A FORWARD -i eth0 -o eth1 -p tcp -d 192.168.1.1 --dport 1723 -j ACCEPT

iptables -A FORWARD -i eth0 -o eth1 -p tcp -d 192.168.1.1 --dport 1512 -j ACCEPT

iptables -A FORWARD -i eth0 -o eth1 -p 47 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
---------------------------------------------------------------------

將以上四行,貼到防火牆自訂義檔裡頭,重新啟動防火牆
(記得修改網卡介面,和 VPN server 的IP)




稍微試了一下, 好像還沒成功..不過我會繼續研究一下 iptables 裡面的資訊.看看可不可以有進一步的發現.感謝 linux_xp 的協助...不過想請問一下上面那第四行 protocol 47 ...是有什麼作用呢?.

回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
coyote 2.24 開機問題 intruder09402000 -- 網 路 硬 體 版 6 2009-06-06 04:24 PM
【問題】 Coyote 頻寬管理為什麼會失效? cmc69 -- 網 路 硬 體 版 1 2007-03-08 02:00 AM
COYOTE 的靈異現象…急 wheat0702a -- 網 路 硬 體 版 7 2006-06-03 12:12 AM
透過 coyote 使用 VPN CJbalance -- 網 路 硬 體 版 0 2006-01-16 10:06 AM
免費路由器 Coyote (北美小銀狼)QOS要怎麼做有沒有人可以教教救救我 k840582 -- 網 路 硬 體 版 1 2005-08-17 05:17 AM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。