《routeros端口映射方法》文章已經(jīng)歸檔,站長之家不再展示相關(guān)內(nèi)容,下文是站長之家的自動(dòng)化寫作機(jī)器人,通過算法提取的文章重點(diǎn)內(nèi)容。這只AI還很年輕,歡迎聯(lián)系我們幫它成長:
參與的routeros是2塊網(wǎng)卡,ether1連接adsl,做pppoeclient,ether2連接局域網(wǎng)。首先按照論壇上置頂?shù)恼f明正確安裝并配置routeros,實(shí)現(xiàn)客戶機(jī)能夠正常上網(wǎng)。然后terminalrouteros改變www服務(wù)端口為8081:/ipservicesetwwwport=8081改變hotspot服務(wù)端口為80,為用戶登錄頁面做準(zhǔn)備:/ipservicesethotspotport=80Setuphotspotprofiletomarkauthenticateduserswithflowname"hs-auth":/iphotspotprofilesetdefaultmark-flow="hs-auth"login-method=enabled-address增加一個(gè)用戶:/iphotspotuseraddname=user1password=1重定向所有未授權(quán)用戶的tcp請(qǐng)求到hotspot服務(wù)/ipfirewalldst-nataddin-interface="ether2"flow="!hs-auth"protocol=tcpaction=redirectto-dst-port=80comment="redirectunauthorizedclientstohotspotservice"允許dns請(qǐng)求、icmpping;拒絕其他?...
......
本文由站長之家用戶“互聯(lián)網(wǎng)”投稿,本平臺(tái)僅提供信息索引服務(wù)。由于內(nèi)容發(fā)布時(shí)間超過平臺(tái)更新維護(hù)時(shí)間,為了保證文章信息的及時(shí)性,內(nèi)容觀點(diǎn)的準(zhǔn)確性,平臺(tái)將不提供完整的內(nèi)容展現(xiàn),本頁面內(nèi)容僅為平臺(tái)搜索索引使用。需閱讀完整內(nèi)容的用戶,請(qǐng)聯(lián)系作者獲取原文。
(舉報(bào))