Fly Tower SSG-5 Firewall port mapping command line setting

Source: Internet
Author: User
Tags command line firewall

SSG-5 is the Juniper Firewall entry level products, some emergency situations need to log into the intranet of a PC or server, need to temporarily open the firewall 3389 ports and do the corresponding VIP mapping.

The command line is naturally the fastest and least error-prone way. The setting method is as follows:

Set Service "3389" protocol tcp src-port 0-65535 dst-port 3389-3389-------Open telnet 3389 port

Set interface ethernet0/0 VIP interface-ip 3389 "3389" 192.168.1.5--------Add IP port mappings to remotely log on devices

Set policy ID 3 from ' untrust ' to ' trust ' "any" "VIP (ethernet0/0)" "3389" permit log-------set port policy and IDs

Set Policy ID 3

Exit

The above set is only in Untrust to the Trust and trust to Untrust are permit any situation, if there is the policy of the deny, need to pay attention to the order of policy.

This article from the "Operation and maintenance work Struggle" blog, please be sure to retain this source http://yanghuawu.blog.51cto.com/2638960/662447

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.