安装和基本配置很简单,也可以找到相关的两篇中文资料,所以就没有列出配置。
PCI猫要使用set interfaces adsl来设置拔号,而外置猫则使用set interfaces ethx pppoe来设置。下面是ADSL共享上网的配置,看了配置就会设置了,所以也就没有列出详细步骤:
interfaces {
.
.
.
ethernet eth1 {
duplex auto
hw-id 00:05:5d:72:ed:29
pppoe 1 {
default-route auto
mtu 1492
name-server auto
password ************
user-id ***********
}
speed auto
}
.
.
.
}
service {
https
nat {
rule 10 {
outbound-interface pppoe1
source {
address 192.168.0.0/24
}
type masquerade
}
}
ssh {
allow-root false
port 22
protocol-version v2
}
}
.
.
.
接下来尝试一下设置限速和防火墙规则。