找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1859|回复: 0

[其它] 求助:如何将ADSL转换成NAT上网?

[复制链接]
发表于 2009-4-8 00:17:24 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
求助:如何将ADSL转换成NAT上网?
我先建立了一个nat 上网的规则:
/ ip firewall nat
add chain=srcnat out-interface=pppoe-out1 src-address=192.168.8.0/24
    action=src-nat to-addresses=121.34.225.111 to-ports=0-65535 comment="nat1" \
    disabled=no

然后使用脚本尝试更新 to -addresses,

/ip firewall nat set  [/ip firewall nat find comment=nat1]  to-addresses=[/ip address get [/ip address find interface=pppoe-out1] address]

但未成功.请大师们讲解一下,以释心中之疑惑.谢谢
routeros
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-6-17 04:42 , Processed in 0.045313 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表