公司有F1020防火墙一台,外网地址61.178.xx.xx,对应内网地址10.50.0.18 ,现将内网服务器10.50.6.1:11443的地址映射到外网地址61.178.xx.xx:11443,但是外网访问不了,不知是安全策略设的不合适还是哪里有问题,请大佬们帮帮忙。附上配置单
version 7.1.064, Release 9333P26 # sysname H3C # context Admin id 1 # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # nat address-group 1 address 61.178.xx.xx 61.178.xx.xx # password-recovery enable # vlan 1 # object-group ip address 10.50.6.1 0 network range 10.50.6.1 10.50.6.2 # interface NULL0 # interface GigabitEthernet1/0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route ip address 61.178.99.66 255.255.255.0 nat outbound 2000 address-group 1 nat server protocol tcp global 61.178.xx.xx 655 inside 10.50.6.1 655 rule ServerRule_3 nat server protocol tcp global 61.178.xx.xx 6304 inside 10.50.6.1 6304 rule ServerRule_4 nat server protocol tcp global 61.178.xx.xx 7102 inside 10.50.6.1 7102 rule ServerRule_9 nat server protocol tcp global 61.178.xx.xx 8355 inside 10.50.6.1 8355 rule ServerRule_8 nat server protocol tcp global 61.178.xx.xx 8356 inside 10.50.6.1 8356 rule ServerRule_6 nat server protocol tcp global 61.178.xx.xx 11443 inside 10.50.6.1 11443 rule ServerRule_7 nat server protocol tcp global 61.178.xx.xx 11554 inside 10.50.6.1 11554 rule ServerRule_2 # interface GigabitEthernet1/0/2 port link-mode route ip address 10.50.0.18 255.255.240.0 # interface GigabitEthernet1/0/3 port link-mode route # interface GigabitEthernet1/0/4 port link-mode route # interface GigabitEthernet1/0/5 port link-mode route # interface GigabitEthernet1/0/6 port link-mode route # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/9 port link-mode route # interface GigabitEthernet1/0/10 port link-mode route # interface GigabitEthernet1/0/11 port link-mode route # interface GigabitEthernet1/0/12 port link-mode route # interface GigabitEthernet1/0/13 port link-mode route # interface GigabitEthernet1/0/14 port link-mode route # interface GigabitEthernet1/0/15 port link-mode route # interface GigabitEthernet1/0/16 port link-mode route # interface GigabitEthernet1/0/17 port link-mode route # interface GigabitEthernet1/0/18 port link-mode route # interface GigabitEthernet1/0/19 port link-mode route # interface GigabitEthernet1/0/20 port link-mode route # interface GigabitEthernet1/0/21 port link-mode route # interface GigabitEthernet1/0/22 port link-mode route # interface GigabitEthernet1/0/23 port link-mode route # object-policy ip Local-Trust rule 0 pass counting # object-policy ip Local-Untrust rule 0 pass counting # object-policy ip Trust-Local rule 0 pass counting # object-policy ip Trust-Untrust rule 0 pass counting # object-policy ip Untrust-Local # object-policy ip Untrust-Trust rule 1 pass destination-ip 10.50.6.1 # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/2 # security-zone name DMZ # security-zone name Untrust import interface GigabitEthernet1/0/1 # security-zone name Management import interface GigabitEthernet1/0/0 # security-zone name managemnet # zone-pair security source Local destination Trust object-policy apply ip Local-Trust # zone-pair security source Local destination Untrust object-policy apply ip Local-Untrust # zone-pair security source Trust destination Local object-policy apply ip Trust-Local # zone-pair security source Trust destination Untrust object-policy apply ip Trust-Untrust # zone-pair security source Untrust destination Local object-policy apply ip Untrust-Local # zone-pair security source Untrust destination Trust object-policy apply ip Untrust-Trust # scheduler logfile size 16 # line class aux user-role network-operator # line class console authentication-mode scheme user-role network-admin # line class usb user-role network-operator # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 61.178.xx.xx # ssh server enable # arp valid-check enable arp source-mac filter # acl basic 2000 rule 0 permit source 10.50.5.0 0.0.0.255 rule 1 permit source 10.50.6.0 0.0.0.255 rule 2 permit source 10.50.7.0 0.0.0.255 rule 3 permit source 10.50.9.0 0.0.0.255 rule 4 permit source 10.50.1.0 0.0.0.255 # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$ZXmrexwqhhPdu3SB$TsVTlgx5PyPktQp61ovlSPuXFjmTJxrxS+q8IUe66yoWPoHqUFK2atcceYsoFbRdyzI4pgvkUAyv3tmzUsCcBw== service-type ssh telnet terminal http https authorization-attribute user-role level-3 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # session statistics enable # ipsec logging negotiation enable # ike logging negotiation enable # ip http enable ip https enable webui log enable # app-profile 0_IPv4 anti-virus apply policy default mode protect # inspect redirect parameter-profile av_redirect_default_parameter # inspect redirect parameter-profile ips_redirect_default_parameter # inspect redirect parameter-profile url_redirect_default_parameter # loadbalance isp file flash:/lbispinfo_v1.5.tp #
(0)
以下为排查要点:
1.防火墙安全策略
2.内外网的路由配置,确保内网服务网段能够上网
3.内网能够正常访问服务器的对应应用模块
4.NAT Server配置参数确保正确
(1)
你这个配置,看着脑大。。
你确认一下服务器的10.50.6.1:11443 这个在内网能访问嘛?
然后确认61.178.xx.xx:11443 这个在外网(用手机流量)测试。
策略是否放通。NAT server是否正确。
(0)
把安全策略着重发一下看看
(0)
security-policy ip rule 1 name U-T action pass logging enable counting enable profile 1_IPv4 source-zone Untrust destination-zone Trust rule 2 name U-U action pass counting enable source-zone Untrust destination-zone Untrust rule 3 name U-L action pass counting enable source-zone Untrust destination-zone Local rule 4 name T-T action pass logging enable counting enable profile 4_IPv4 source-zone Trust destination-zone Trust rule 5 name T-L action pass counting enable source-zone Trust destination-zone Local rule 6 name T-U action pass logging enable counting enable profile 6_IPv4 source-zone Trust destination-zone Untrust rule 7 name L-L action pass counting enable source-zone Local destination-zone Local rule 8 name L-T action pass counting enable source-zone Local destination-zone Trust rule 9 name L-U action pass counting enable source-zone Local destination-zone Untrust 可以这样放通全部试试吗
object-policy ip 10.50.6.1 rule 0 pass destination-ip 10.50.6.1 service 11443 # object-policy ip Local-Trust rule 0 pass counting # object-policy ip Local-Untrust rule 0 pass counting # object-policy ip Trust-Local rule 0 pass counting # object-policy ip Trust-Untrust rule 0 pass counting # object-policy ip Untrust-Local # object-policy ip Untrust-Trust rule 1 pass destination-ip 10.50.6.1 # object-policy ip trust-trust rule 0 pass zone-pair security source Local destination Trust object-policy apply ip Local-Trust # zone-pair security source Local destination Untrust object-policy apply ip Local-Untrust # zone-pair security source Trust destination Local object-policy apply ip Trust-Local # zone-pair security source Trust destination Trust # zone-pair security source Trust destination Untrust object-policy apply ip Trust-Untrust # zone-pair security source Untrust destination Local object-policy apply ip Untrust-Local # zone-pair security source Untrust destination Trust object-policy apply ip 10.50.6.1
可以加个QQ吗?我发配置文件给你,这个格式太乱了,我的QQ1916536638
security-policy ip rule 1 name U-T action pass logging enable counting enable profile 1_IPv4 source-zone Untrust destination-zone Trust rule 2 name U-U action pass counting enable source-zone Untrust destination-zone Untrust rule 3 name U-L action pass counting enable source-zone Untrust destination-zone Local rule 4 name T-T action pass logging enable counting enable profile 4_IPv4 source-zone Trust destination-zone Trust rule 5 name T-L action pass counting enable source-zone Trust destination-zone Local rule 6 name T-U action pass logging enable counting enable profile 6_IPv4 source-zone Trust destination-zone Untrust rule 7 name L-L action pass counting enable source-zone Local destination-zone Local rule 8 name L-T action pass counting enable source-zone Local destination-zone Trust rule 9 name L-U action pass counting enable source-zone Local destination-zone Untrust 可以这样放通全部试试吗
您好,这个有点乱,使用工具重新发一下
(0)
可以加个QQ吗?我发配置文件给你,这个格式太乱了,我的QQ1916536638
可以加个QQ吗?我发配置文件给你,这个格式太乱了,我的QQ1916536638
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明