ROS软路由论坛 ROSABC.com

 找回密码
 会员注册
查看: 4409|回复: 5

[PPPoE拨号认证] [ADSL 拨号上网事例] ADSL 用户名: [email protected] 密码: 1234 Service Name:

[复制链接]
发表于 2013-4-21 03:52:32 | 显示全部楼层 |阅读模式
ROS软路由论坛
ADSL 拨号上网事例

ADSL 用户名: [email protected]

密码: 1234

Service Name: CHN-Telecom

1:添加 PPPOE Clients


[[email protected]] interface pppoe-client>

[[email protected]] interface pppoe-client> add interface=ether1 mtu=1492 mru=1492 service-name=CHN-Telecom user= [email protected] password=1234
add-default-route=yesuse-peer-dns=yes
[[email protected]] interface pppoe-client> print Flags: X - disabled, R - running
0 X name="pppoe-out1" mtu=1492 mru=1492 interface=ether1 [email protected] password=1234 profile=default service-name=CHN-Telecom ac-name="" add-default-route=yes dial-on-demand=no use-peer-dns=yes

PPPOE 拨号已经配置好,接下来将 ADSL MODEM 的网线连接好进行以下操作就可以连同了。


[[email protected]] interface pppoe-client>enable 0

[[email protected]] interface pppoe-client> monitor pppoe-out1
status: "connected" uptime: 10s
encoding: "none"
service-name: "CHN-Telecom" ac-name: ""
ac-mac: 00:C0F:07:5E:E6

之后还需在 ip firewall mangle 中添加一条规则:


[[email protected]] ip firewall mangle> add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440

[[email protected]] ip firewall mangle> print
Flags: X - disabled, I – invalid
0 chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440

最后如果你要起用 nat 功能,不要忘了在 ip firewall nat 设置 IP 伪装。

发表于 2020-10-25 10:34:12 | 显示全部楼层
学习命令行操作
发表于 2020-11-27 00:05:54 | 显示全部楼层
学习命令行操作
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则



不良信息举报Q:2000617

不良信息举报Q:2000617|Archiver|小黑屋|ROS软路由论坛 ROSABC.com

GMT+8, 2021-1-23 06:41 , Processed in 0.076117 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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