RouterOS中文使用手册(第三部分)(转)

这篇博客是RouterOS中文使用手册的第三部分,详细介绍了该网络操作系统的一些高级功能和配置技巧。内容来源于ITPUB博客,若要转载请注明来源。
摘要由CSDN通过智能技术生成
5. 配置IP Service,限定远程管理RouerOS 的地址和方式

/ ip service set telnet port=23 address=0.0.0.0/0 disabled=no set ftp port=21 address=0.0.0.0/0 disabled=no set www port=80 address=0.0.0.0/0 disabled=no set hotspot port=8088 address=0.0.0.0/0 disabled=no / ip policy-routing add name="jitong"

6. 配置Hotspot(WEB 认证)

/ ip hotspot

set hotspot-address=(ip_addr) status-autorefresh=1m auth-mac=no
auth-mac-password=no auth-http-cookie=no http-cookie-lifetime=1d
/ ip hotspot profile
set default name="default" session-timeout=0s idle-timeout=0s only-one=yes
tx-bit-rate=0 incoming-filter="" outgoing-filter=""
/ ip hotspot radius-client
set enabled=no accou=yes primary-serv=(ip_addr) secondary-serv=(ip_addr)
shared-secret="" authentication-port=1812 accounting-port=1813
interim-update=0s

7. 配置IP Pool

/ ip pool add name="jitong" ranges=172.16.1.3-172.16.1.254 add name="dianxin" ranges=172.16.2.3-172.16.2.254

8. 启用NAT 后的策略路由配置

应用拓扑见下面的示意图。某校园网络有教育和电信两个出口,网关分别是:202.10.68.1 和

211.99.52.129。首先按正常情况配置好IP 地址、基本路由、防火墙、NAT 等。基本路由配置如下(即主路由表main):[admin@RouerOS] ip route> pr Flags:X -disabled,I -invalid,D -dynamic,J -rejected,C -connect,S -static, r - rip, o - ospf, b -bgp

#
DST-ADDRESS
G GATEWAY
DISTANCE
INTERFACE

0
S 0.0.0.0/0
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值