码迷,mamicode.com
首页 > Web开发 > 详细

Juniper NetScreen MIP转换

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

标签:private   address   access   public   policy   

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转换

标签:private   address   access   public   policy   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!