In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1.NAT-Src with PAT Enabled
CLI:
Set int eth2 zone trust
Set int eth2 ip 10.1.1.1/24
Set int eth2 nat
Set int eth4 zone untrust
Set int eth4 ip 1.1.1.1/24
Set int eth4 route
Set int eth4 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 eth2 zone trust
Set int eth2 ip 10.1.1.1/24
Set int eth2 nat
Set int eth4 zone untrust
Set int eth4 ip 1.1.1.1/24
Set int eth4 route
Set int eth4 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 eth2 zone trust
Set int eth2 ip 10.1.1.1/24
Set int eth2 nat
Set int eth4 zone untrust
Set int eth4 ip 1.1.1.1/24
Set int eth4 ip route
Set int eth4 dip 10 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 10 permit log
3.NAT-Src Without DIP
CLI:
Set int eth2 zone trust
Set int eth2 ip 10.1.1.1/24
Set int eth2 nat
Set int eth4 zone untrust
Set int eth4 ip 1.1.1.1/24
Set int eth4 route
Set policy from trust to untrust any any any nat src permit log
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.