Juniper NetScreen based on source NAT translation

Source: Internet
Author: User

1.nat-src with PAT Enabled


Cli:

Set int eth1 Zone Trust

Set int eth1 IP 10.1.1.1/24

Set int eth1 NAT

Set int Eth3 Zone Untrust

Set int ETH3 IP 1.1.1.1/24

Set int Eth3 route

Set int Eth3 Dip 5 1.1.1.30 1.1.1.30

Set policy from trust to untrust any any any NAT src Dip-id 5 Permit Log


2.nat-src with PAT Disabled


Cli:

Set int eth1 Zone Trust

Set int eth1 IP 10.1.1.1/24

Set int eth1 NAT

Set int Eth3 Zone Untrust

Set int ETH3 IP 1.1.1.1/24

Set int Eth3 route

Set int Eth3 Dip 6 1.1.1.50 1.1.1.150 Fix-port

Set policy from trust to untrust any any any NAT src Dip-ip 6 Permit Log


3.NAT-SRC with Address shifting


Cli:

Set int eth1 Zone Trust

Set int eth1 IP 10.1.1.1/24

Set int eth1 NAT

Set int Eth3 Zone Untrust

Set int ETH3 IP 1.1.1.1/24

Set int eth3 IP route

Set int Eth3 dip Shift-from 10.1.1.11 to 1.1.1.101 1.1.1.105

Set Address Trust host1 10.1.1.11/32

Set Address Trust Host2 10.1.1.12/32

Set Address Trust Host3 10.1.1.13/32

Set Address Trust Host4 10.1.1.14/32

Set Address Trust Host5 10.1.1.15/32

Set Group Address Trust group1 add host1

Set Group Address Trust group1 add host2

Set Group Address Trust group1 add host3

Set Group Address Trust group1 add Host4

Set Group Address Trust group1 add HOST5

Set policy from trust to untrust group1 any any NAT src Dip-id permit Log


3.NAT-SRC without DIP


Cli:

Set int eth1 Zone Trust

Set int eth1 IP 10.1.1.1/24

Set int eth1 NAT

Set int Eth3 Zone Untrust

Set int ETH3 IP 1.1.1.1/24

Set int Eth3 route

Set policy from trust to untrust any any any Nat src permit log

This article is from the "Chj Migrant Workers" blog, please be sure to keep this source http://3155099.blog.51cto.com/3145099/1611600

Juniper NetScreen based on source NAT translation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.