• 860

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

gfx wrote:
你把nat的dst...(恕刪)


後來今天早上上班到公司就先想辦法"亂弄"成可連線,下面這樣它就通囉
說實在問題也不知道出在哪都不太清楚,nat部份我都沒有調整

mangle改後
/ip firewall mangle
add action=mark-routing chain=prerouting comment=\
"\A4\BA\BA\F4\B3s\BDu\B0|\A4\BA\BA\F4\B8\F4\BC\D0\B0O" dst-address-list=\
poh-Net new-routing-mark=poh-make passthrough=no src-address-list=\
LAN-User
add action=mark-routing chain=prerouting dst-address-list=LAN-User \
new-routing-mark=poh-make passthrough=no protocol=icmp \
src-address-list=poh-Net
add action=mark-routing chain=prerouting comment=\
"\A4\BA\BA\F4\B3s\A5~\BA\F44G\BA\F4\A5d\BC\D0\B0O" dst-port=1-1024 \
new-routing-mark=lte4g-make passthrough=no protocol=tcp src-address-list=\
LAN-User
add action=mark-routing chain=prerouting dst-port=1-1024 new-routing-mark=\
lte4g-make passthrough=no protocol=udp src-address-list=LAN-User
add action=mark-connection chain=prerouting comment="\\AEa\\B8\\CCVPN\\B3s\\BDu" \
dst-address-list=home-vpn dst-port=1723 new-connection-mark=lte-comm \
passthrough=no protocol=tcp src-address-list=LAN-User
add action=mark-routing chain=prerouting connection-mark=lte-comm \
dst-address-list=home-vpn new-routing-mark=lte4g-make passthrough=no \
src-address-list=LAN-User
請問是否可以作多線VPN負載均衡嗎?

win28703 wrote:
請問是否可以作多線VPN...(恕刪)
可以的,小弟使用過.

gfx wrote:
可以的,小弟使用過...(恕刪)


因該也是用標記的方式下去做吧!但vpn因該是需要site to site方式連線
那如何作法,可否提示下或是參考下,感謝拉!!

win28703 wrote:
請問是否可以作多線VPN負載均衡嗎?...(恕刪)


你指的是 LAN to LAN multiple VPN load balance? 小弟也想知道怎麼做.
FB: Pctine
我唯一沒做的就是VPN Client Load Balancing,因為沒有此需求
如果是VPN Client的話,原理和WAN Load Balancing一樣,只是標記換成VPN Client Interface而已

LAN to LAN這種的真的沒看過

我的三台VPN伺服器上只有實作以下:
PCQ
RADIUS AAA
Country IP policy Route
Country IP 自動更新
PCQ對用戶平均分配頻寬

日本和美國主機也都有上類似的設定
等有閒錢買主機跑Linux再來把ShadowSocks整合進TW那台

成果圖:
左上是netflix上面的「RWBY」
右下是NICOVIDEO的「ダンジョンに出会いを求めるのは間違っているだろうか」
將WAN負載均衡改為LAN(VPN)後。試了多次一樣失敗。VPN負載均衡恐怕難作成
最近幫房東要架ROS HOTSPOT給房客用, 但一直有些問題搞不定, 想請各位幫忙.

請問ROS HOTSPOT USER Profile有2個參數(add-mac-cookie & mac-cookie-timeout), 看了原廠的說明文件, 還是有看沒懂, 請問作用為何? 開啟對行動裝置有何幫助? 謝謝各位幫忙解惑. 


[admin@MikroTik] /ip hotspot user profile> print

Flags: * - default
0 * name="default" status-autorefresh=1m shared-users=1 add-mac-cookie=yes mac-cookie-timeout=3d address-list="" transparent-proxy=no


原廠說明:
MAC Cookie
MAC cookie is a new hotspot feature, designed to improve accessibility for smartphones, laptops and other mobile devices.

When MAC cookie feature is enabled (login-by=mac-cookie, add-mac-cookie=yes set in user profile), following actions are taken:

first successful login. Mac cookie keeps record of username and password for the MAC address if there is only one host with such MAC. Cookie timeout is set to value equal to mac-cookie-timeout.

new host appears. Hotspot checks if there is a mac cookie record for the MAC address and logs in host using recorded username and password. If there is more than one host with the same MAC address, user will not be logged in and MAC cookie record for this address will be deleted.

When user logs out mac cookie is removed in following cases:
user-request - user clicked on logout button.
admin-reset - disconnected from radius server or user is removed from hotspot active menu
nas-request - traffic limit reached
session-timeout
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?