1,端口描述
[edit]
[email protected]# edit applications
[email protected]# set application 13389 protocol tcp destination-port 13389
2.
[edit]
[email protected]# edit security nat destination
[email protected]# set pool zwb_13389 address 192.168.50.160/32 port 13389
[edit security nat destination]
[email protected]# set rule-set zwb from zone untrust6
[email protected]# set rule-set zwb rule zwb_13389 match source-address 0.0.0.0/0
[email protected]# set rule-set zwb rule zwb_13389 match destination-address 183.238.XXX.XXX/30
[email protected]# set rule-set zwb rule zwb_13389 match destination-port 13389
[email protected]# set rule-set zwb rule zwb_13389 then destination-nat pool zwb_13389
3
[edit]
[email protected]# edit security zones security-zone trust
[email protected]# set address-book address 192.168.50.160 192.168.60.160/32
4
[edit]
[email protected]# edit security policies
[email protected]# edit from-zone untrust6 to-zone trust
[email protected]# set policy zwb match source-address any
[email protected]# set policy zwb match destination-address 192.168.50.160
[email protected]# set policy zwb match application 13389
[email protected]# set policy zwb then permit
[email protected]# top
[email protected]# commit
commit complete