首页 > Web开发 > 详细

Juniper NetScreen MIP转换

时间:2015-02-03 15:22:44      阅读:332      评论:0      收藏:0      [点我收藏+]

MIP-Definition

MIP (Mapped IP) is a 1 to 1 mapping of a public IP address to an IP address on the Internal side of the Juniper firewall

MIP一对一映射,从公网IP映射到私网IP



Configuring a MIP to access a single device on the private network

set int eth0/0 zone untrust

set int eth0/0 ip 1.1.1.250/24

set int eth0/0 route

set int eth0/1 zone trust

set int eth0/1 ip 192.168.1.1/24

set int eth0/1 route

set int eth0/0 mip 1.1.1.100 host 192.168.1.100 netmask 255.255.255.255 vroute trust-vr

set policy from untrust to trust any mip(1.1.1.100) any permit log



Configuring a MIP to a subnet or multiple internal hosts

set int eth0/0 zone untrust

set int eth0/0 ip 1.1.1.250/24

set int eth0/0 route

set int eth0/1 zone trust

set int eth0/1 ip 192.168.1.1/24

set int eth0/1 route

set int eth0/0 mip 1.1.1.0 host 192.168.1.0 netmask 255.255.255.224 vroute trust-vr

set policy from untrust to trust any mip(1.1.1.0/27) any permit log


本文出自 “CHJ农民工” 博客,请务必保留此出处http://3155099.blog.51cto.com/3145099/1610987

Juniper NetScreen MIP转换

原文:http://3155099.blog.51cto.com/3145099/1610987

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!