• 860

[研究所] MikroTik RouterOS 學習 (持續更新)


ken-1976 wrote:
pctine ,gf...(恕刪)


試試這個方法
http://klseet.com/index.php/mikrotik/mikrotik-rb750-750g/setup-for-unifi
請問pctine大,
假設有需要在ROS建立兩個pppoe-clients:

1.將ether1 用vlan切割成vlan1與vlan2
建pppoe-out1 ,interface=vlan1
建pppoe-out2 ,interface=vlan2

2.不做vlan
pppoe-out1 與pppoe-out2 interface皆為ether1

1與2的做法您覺得有差別嗎?

ken-1976 wrote:
pctine ,gf...(恕刪)
Sorry! 說明有遺漏...
接mod時要您先建立bridge1這個橋接器,再將ether5與bridge1橋接起來。

但不知您有沒有發現我的疏失,光介紹只有ether5與bridge1橋接是不夠的,還少個ether1。
所以在/interface bridge port 的位置還要再建個ether1與bridge1橋接。
這樣透過bridge1的關係,才真正讓ether1與ether5橋接起來。
請問可以將 MOD 的設定流程總結一下,因為還是不太懂,謝謝。

TONYTC wrote:
試試這個方法http...(恕刪)
這方法我試過,將ether1切成vlan1/vlan2後...
連PPPoE撥號都會有問題
又是駭客問題

今天試一下把所有的 INPUT 記錄到 LOG
UDP 一堆 就不說了
TCP 一直再試 port 8080, 8088, 8081,... 還有其他等等
這些要全部封掉嗎?

如下:
http://www.evernote.com/shard/s34/sh/c28f1241-f68e-4fdb-a176-1405c40bf1ff/5daac6dc918cecbc0ac2b4e094a8fd05
yblin99 wrote:
又是駭客問題今天試一...(恕刪)

其實需透過chain=input與ROS連接的服務很少,
大多是透過chain=forward與電腦連接.

與其如此就將service type外的連接給drop ,我是這樣認為.
把同意連接的電腦清單(All-Lan) ,與DNS-Server list先建立起來.
/ip firewall address-list



匯入下面的Rule:
/ip firewall filter
add action=drop chain=input comment=\
"\A5\E1\B1\F3\ABD\A5\BB\BE\F7\AA\BA\AB\CA\A5]" dst-address-type=!local

add action=drop chain=input comment="\\A5\\E1\\B1\\F3\\B5L\\AE\\C4\\AA\\BA\\AB\\CA\\A5]" \
connection-state=invalid

add action=drop chain=input comment="\\A5\\E1\\B1\\F3\\A6h\\BC\\BD\\AA\\BA\\AB\\CA\\A5]" \
src-address-type=!unicast

add action=drop chain=input comment="DoS\\A9\\DA\\B5\\B4\\AAA\\B0\\C8\\A7\\F0\\C0\\BB" \
connection-limit=10,32 protocol=tcp

add action=drop chain=input comment="\\A8\\BE\\A4\\EE\\B3Q\\B1\\BD\\BA\\CB Port" \
protocol=tcp src-address-list="port scanners"

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp psd=21,3s,3,1

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp tcp-flags=\
fin,!syn,!rst,!psh,!ack,!urg

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp tcp-flags=fin,syn

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp tcp-flags=syn,rst

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp tcp-flags=\
fin,psh,urg,!syn,!rst,!ack

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp tcp-flags=\
fin,syn,rst,psh,ack,urg

add action=add-src-to-address-list address-list="port scanners" \
address-list-timeout=2w chain=input protocol=tcp tcp-flags=\
!fin,!syn,!rst,!psh,!ack,!urg

add chain=input comment="\\A4\\B9\\B3\\\\\\B0\\CF\\BA\\F4\\B8\\CB\\B8m" src-address-list=All-Lan

add chain=input comment="\\A4\\B9\\B3\\\\VPN" dst-port=1723 protocol=tcp

add chain=input protocol=gre

add chain=input dst-port=500,1701,4500 protocol=udp

add chain=input dst-port=1194 protocol=tcp

add chain=input comment="\\A4\\B9\\B3\\\\DNS" src-address-list=DNS-Server

add chain=input comment="\\A4\\B9\\B3\\\\ROS-Cloud\\A6\\F8\\AAA\\BE\\B9" protocol=udp \
src-address=81.198.87.240

add chain=input comment="\\A4\\B9\\B3\\\\\\B6l\\A5\\F3\\A6\\F8\\AAA\\BE\\B9" protocol=tcp \
src-port=25

add chain=input comment="\\A4\\B9\\B3\\\\WWW\\A6\\F8\\AAA\\BE\\B9" protocol=tcp \
src-port=80,443

add chain=input comment="\\A4\\B9\\B3\\\\\\AE\\C9\\B6\\A1\\A6\\F8\\AAA\\BE\\B9" protocol=\
udp src-port=123

add action=drop chain=input comment=\
"\A5\E1\B1\F3\A5\BC\A9w\B8q\AA\BA\AB\CA\A5]"
我想您的問題應該會隨之迎刃而解!!

感謝大大您的回覆,對小弟幫助很大,感恩。

gfx wrote:
pppoe-out2...(恕刪)

感恩gfx大大您的回覆!
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?