F100-E-G 想简单配置在家里用
0/0 管理口,已经配置好,能web登录
求助如下
1、
0/1 口作为宽带的PPPOE拨号,宽带账号是abc@163.gd,密码abcd1234
2、
0/2-0/5 口互联互通启动DHCP,192.168.30.0段,网关192.168.30.1,2-5口插入电脑能自动获取IP上网
求全部命令行操作或WEB操作!
(光猫)~~~(F100-E-G)~~~(电脑)
(1)
最佳答案
参考这个,防火墙的安全策略可以通过web进行配置
dhcp server ip-pool home
gateway-list 192.168.30.254
network 192.168.30.0 mask 255.255.255.0
dns-list 114.114.114.114
#
interface Vlan-interface30
description home
ip address 192.168.30.254 255.255.255.0
#
int range g1/0/2 to g1/0/5
port link-mode bridge
port access vlan 30
#
security-zone name Trust
import interface Vlan-interface 30
#
security-zone name Untrust
import interface Dialer0
import interface GigabitEthernet1/0/1
#
security-policy ip
rule 0 name untrust-local
action pass
source-zone Untrust
destination-zone Local
rule 1 name local-untrust
action pass
source-zone Local
destination-zone Untrust
rule 2 name trust-local
action pass
source-zone Trust
destination-zone Local
rule 3 name local-trust
action pass
source-zone Local
destination-zone Trust
rule 4 name trust-untrust
action pass
source-zone Trust
destination-zone Untrust
rule 5 name untrust-trust
action pass
source-zone Untrust
destination-zone Trust
#
acl advanced 3000
rule 10 permit ip
#
dialer-group 0 rule ip permit
#
interface Dialer0
mtu 1492
ppp chap sim abcd1234
ppp chap user abc@163.gd
ppp ipcp dns admit-any
ppp ipcp dns request
ppp pap local-user abc@163.gd password sim abcd1234
dialer bundle enable
dialer-group 0
dialer timer idle 0
dialer timer autodial 5
ip address ppp-negotiate
nat outbound 3000
#
interface GigabitEthernet1/0/1
pppoe-client dial-bundle-number 0
#
ip route-static 0.0.0.0 0 Dialer0
(1)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
网页上面找到安全策略,然后按需放通安全域之间互访