• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

U200-A l2tp over ipsec 求助 这样配置联不上

2018-12-15提问
  • 0关注
  • 1收藏,1069浏览
粉丝:0人 关注:0人

问题描述:

  GYS821ZX_U200A>dis cu 

# version 5.20, Feature 5123P36

 # sysname GYS821ZX_U200A 

# l2tp enable 

# undo voice vlan mac-address 00e0-bb00-0000

 # ike local-name lns

 # domain default enable system 

# dns proxy enable 

 # telnet server enable

 # ip ttl-expires enable ip unreachables enable

 # undo alg all 

 # 

 # acl number 3000 description dianxin rule 21 permit ip source 10.0.51.0 0.0.0.255 rule 30 permit ip source 192.168.4.253 0 acl number 3001 description yidong rule 0 permit ip source 10.0.49.0 0.0.0.255 acl number 3008 description vlanTOvlan acl number 3100 rule 0 permit udp source-port eq 1701 rule 5 permit ip 

# vlan 1

 # vlan 2 

# radius scheme system # domain h3c access-limit disable state active idle-cut disable self-service-url disable ip pool 2 10.8.2.1 domain system access-limit disable state active idle-cut disable self-service-url disable ip pool 1 192.168.2.2 192.168.2.62 

# pki domain default crl check disable 

# ike peer pc exchange-mode aggressive pre-shared-key cipher id-type name remote-name pc

 # ipsec proposal 1 

# ipsec policy-template temp 1 ike-peer pc proposal 1 

# ipsec policy pc 1 isakmp template temp 

# qos policy 1 

# user-group system 

# local-user admin password cipher authorization-attribute level 3 service-type telnet local-user vpnuser password cipher service-type ppp # ssl server-policy access-policy pki-domain default 

# l2tp-group 1 undo tunnel authentication allow l2tp virtual-template 0 tunnel name lns 

# l2tp-group 2 undo tunnel authentication allow l2tp virtual-template 1 remote pc 

# interface Bridge-Aggregation1 link-aggregation mode dynamic 

# interface Bridge-Aggregation2 link-aggregation mode dynamic 

# interface Virtual-Template0 ppp authentication-mode chap domain system remote address pool 1 ip address 192.168.2.1 255.255.255.192 

# interface Virtual-Template1 ppp authentication-mode pap domain h3c remote address pool 2 ip address 10.8.2.2 255.255.255.252 

# interface NULL0 

# interface Vlan-interface1 ip address 10.254.1.42 255.255.255.248 ip policy-based-route fenliu 

# interface Vlan-interface2 ip address 10.254.0.2 255.255.255.252 

# interface GigabitEthernet0/0 port link-mode route description TO_dianxin nat outbound nat server ip address ipsec policy pc 

# interface GigabitEthernet0/1 port link-mode route description TO_ nat outbound ip address 10.254.0.10 255.255.255.252 

# interface GigabitEthernet0/2 port link-mode route description TO_MSR3600 ip address 10.254.1.2 255.255.255.252

 # interface GigabitEthernet0/3 port link-mode route ip address 10.254.1.90 255.255.255.252 

# interface GigabitEthernet0/4 port link-mode bridge port link-aggregation group 1 

# interface GigabitEthernet0/5 port link-mode bridge description TO_7503_G28 port link-aggregation group 1

 # ospf 1 import-route static area 0.0.0.1 network 10.254.0.8 0.0.0.3 network 10.254.1.40 0.0.0.7 network 10.254.1.88 0.0.0.3 network 10.255.255.25 0.0.0.0 # nqa entry dianxin test type icmp-echo destination ip 118.121.233.1 frequency 5000 history-record number 10 probe count 10 probe timeout 500 reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only # nqa entry yidong test type icmp-echo destination ip 10.254.0.9 frequency 5000 history-record number 10 probe timeout 500 reaction 2 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only # policy-based-route fenliu permit node 0 if-match acl 3008 policy-based-route fenliu permit node 1 if-match acl 3001 apply ip-address next-hop 10.254.0.9 track 2 policy-based-route fenliu permit node 2 if-match acl 3000 apply ip-address next-hop 118.000 track 1 policy-based-route fenliu permit node 3 # ip route-static 0.0.0.0 0.0.0.0 118.101.0.0 track 1 ip route-static 0.0.0.0 0.0.0.0 10.254.0.9 track 2 preference 70 ip route-static 10.0.40.0 255.255.248.0 10.254.1.43 ip route-static 10.0.48.0 255.255.248.0 10.254.1.43 ip route-static 10.0.56.0 255.255.255.192 10.254.1.43 ip route-static 10.110.63.0 255.255.255.192 10.254.1.43 ip route-static 192.168.4.0 255.255.255.0 Vlan-interface1 10.254.1.43

 # undo info-center enable # track 1 nqa entry dianxin test reaction 1 track 2 nqa entry yidong test reaction 2 # nqa schedule yidong test start-time now lifetime forever nqa schedule dianxin test start-time now lifetime forever # nat dns-map domain ***.*** protocol tcp ip 118.121.233.63 port www # ip https acl 2008 ip https port 8443 ip https ssl-server-policy access-policy ip https enable # load xml-configuration # user-interface con 0 authentication-mode password set authentication password cipher ! user-interface vty 0 4 acl 2008 inbound authentication-mode scheme # return <GYS821ZX_U200A>

最佳答案

粉丝:57人 关注:0人

给你个配置案例,然后需要把这个虚接口加入安全区域,然后放通域间策略

#设置用户名密码服务类型

 [H3C]local-user l2tpvpn

 [H3C-luser-l2tpvpn]password simple l2tpvpn 

[H3C-luser-l2tpvpn]service-type ppp

 [H3C-luser-l2tpvpn]qu #启用L2TP服务

 [H3C]l2tp enable #对VPN采用本地认证并配置地址池

 [H3C]domain system

 [H3C-isp-system]authentication ppp local

 [H3C-isp-system]ip pool 1 192.168.100.2 192.168.100.100

 [H3C-isp-system]quit #配置虚模板

 [H3C]interface Virtual-Template 1 

[H3C-Virtual-Template1]ip add 192.168.100.1 24

 [H3C-Virtual-Template1]ppp authentication-mode chap domain system

 [H3C-Virtual-Template1]remote address pool 1 

[H3C-Virtual-Template1]qu #设置L2TP组,

 [H3C]l2tp-group 1 

[H3C-l2tp1]tunnel name LNS

 [H3C-l2tp1]allow l2tp virtual-template 1

 [H3C-l2tp1]undo tunnel authentication 

暂无评论

0 个回答

该问题暂时没有网友解答

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明