Solved

Juniper SSG5 intra-zone blocking failed

Posted on 2010-11-22
1
2,303 Views
Last Modified: 2012-08-14
I want to block all services between two trust(bgroup0 and bgroup1) zone at a SSG5.
After i create a deny all policy, computer from zone A still can access the share folder of computer at Zone B. Other services such as ping are blocked successfully. And computer at zone B can not access share folder at Zone A.

Any idea how to fix it?
Thank you.

unset key protection enable
set clock timezone 8
set clock dst recurring start-weekday 2 0 3 02:00 end-weekday 1 0 11 02:00
set vrouter trust-vr sharable
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset auto-route-export
exit
set service "File" protocol tcp src-port 0-65535 dst-port 135-139
set service "File" + tcp src-port 0-65535 dst-port 445-445
set service "File" + udp src-port 0-65535 dst-port 445-445
set alg appleichat enable
unset alg appleichat re-assembly enable
set alg sctp enable
set auth-server "Local" id 0
set auth-server "Local" server-name "Local"
set auth default auth server "Local"
set auth radius accounting port 1646
set admin name "admin"
set admin password "nMW9HErWPhfGc5kG3saKqVAt3vGwhn"
set admin auth web timeout 10
set admin auth dial-in timeout 3
set admin auth server "Local"
set admin format dos
set zone "Trust" vrouter "trust-vr"
set zone "Untrust" vrouter "trust-vr"
set zone "DMZ" vrouter "trust-vr"
set zone "VLAN" vrouter "trust-vr"
set zone "Untrust-Tun" vrouter "trust-vr"
set zone "Trust" tcp-rst
set zone "Untrust" block
unset zone "Untrust" tcp-rst
set zone "MGT" block
unset zone "V1-Trust" tcp-rst
unset zone "V1-Untrust" tcp-rst
set zone "DMZ" tcp-rst
unset zone "V1-DMZ" tcp-rst
unset zone "VLAN" tcp-rst
set zone "Untrust" screen tear-drop
set zone "Untrust" screen syn-flood
set zone "Untrust" screen ping-death
set zone "Untrust" screen ip-filter-src
set zone "Untrust" screen land
set zone "V1-Untrust" screen tear-drop
set zone "V1-Untrust" screen syn-flood
set zone "V1-Untrust" screen ping-death
set zone "V1-Untrust" screen ip-filter-src
set zone "V1-Untrust" screen land
set interface "ethernet0/0" zone "Untrust"
set interface "ethernet0/1" zone "DMZ"
set interface "bgroup0" zone "Trust"
set interface "bgroup1" zone "Trust"
set interface bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup1 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 113.28.79.101/29
set interface ethernet0/0 route
set interface ethernet0/1 ip 10.10.22.1/24
set interface ethernet0/1 nat
set interface bgroup0 ip 10.10.21.1/24
set interface bgroup0 nat
set interface bgroup1 ip 192.168.1.1/24
set interface bgroup1 nat
set interface ethernet0/0 gateway 113.28.79.102
unset interface vlan1 bypass-others-ipsec
unset interface vlan1 bypass-non-ip
set interface ethernet0/0 ip manageable
set interface ethernet0/1 ip manageable
set interface bgroup0 ip manageable
set interface bgroup1 ip manageable
set interface ethernet0/0 manage ping
set interface ethernet0/0 manage telnet
set interface ethernet0/0 manage web
set interface bgroup0 manage mtrace
unset interface bgroup1 manage ssh
unset interface bgroup1 manage snmp
unset interface bgroup1 manage ssl
unset interface bgroup1 manage web
set interface bgroup0 dhcp server service
set interface bgroup1 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup1 dhcp server enable
set interface bgroup0 dhcp server option dns1 203.198.23.208
set interface bgroup0 dhcp server option dns2 218.102.32.208
set interface bgroup1 dhcp server option lease 1440000
set interface bgroup1 dhcp server option gateway 192.168.1.1
set interface bgroup1 dhcp server option netmask 255.255.255.0
set interface bgroup1 dhcp server option dns1 203.198.23.208
set interface bgroup0 dhcp server ip 10.10.21.101 to 10.10.21.254
set interface bgroup1 dhcp server ip 192.168.1.101 to 192.168.1.254
unset interface bgroup0 dhcp server config next-server-ip
unset interface bgroup1 dhcp server config next-server-ip
set interface "serial0/0" modem settings "USR" init "AT&F"
set interface "serial0/0" modem settings "USR" active
set interface "serial0/0" modem speed 115200
set interface "serial0/0" modem retry 3
set interface "serial0/0" modem interval 10
set interface "serial0/0" modem idle-time 10
set flow tcp-mss
unset flow tcp-syn-check
unset flow tcp-syn-bit-check
set flow reverse-route clear-text prefer
set flow reverse-route tunnel always
set pki authority default scep mode "auto"
set pki x509 default cert-path partial
set address "Trust" "10.10.21.0/255.255.255.0" 10.10.21.0 255.255.255.0
set address "Trust" "10.10.21.0/255.255.255.255" 10.10.21.0 255.255.255.255
set address "Trust" "10.10.21.2/255.255.255.255" 10.10.21.2 255.255.255.255
set address "Trust" "192.168.1.0/255.255.255.0" 192.168.1.0 255.255.255.0
set address "Trust" "192.168.1.0/255.255.255.255" 192.168.1.0 255.255.255.255
set address "Trust" "192.168.1.1/255.255.255.255" 192.168.1.1 255.255.255.255
set address "Trust" "192.168.1.101/255.255.255.255" 192.168.1.101 255.255.255.255
set crypto-policy
exit
set ike respond-bad-spi 1
set ike ikev2 ike-sa-soft-lifetime 60
unset ike ikeid-enumeration
unset ike dos-protection
unset ipsec access-session enable
set ipsec access-session maximum 5000
set ipsec access-session upper-threshold 0
set ipsec access-session lower-threshold 0
set ipsec access-session dead-p2-sa-timeout 0
unset ipsec access-session log-error
unset ipsec access-session info-exch-connected
unset ipsec access-session use-error-log
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
exit
set url protocol websense
exit
set policy id 1 from "Trust" to "Untrust"  "Any" "Any" "ANY" permit log
set policy id 1
exit
set policy id 3 from "Trust" to "Trust"  "Any" "Any" "ANY" deny log
set policy id 3
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
set telnet client enable
set snmp port listen 161
set snmp port trap 162
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset add-default-route
exit
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
exit
0
Comment
Question by:dickchan
1 Comment
 
LVL 18

Accepted Solution

by:
Sanga Collins earned 500 total points
ID: 34187999
You may be missing this line

set zone "Trust" block


from the WebUI you can find it under

Network > Zones > Edit trust > check mark for block intra-zone traffic
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now