Juniper NetScreen MIP转换

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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。