Screen OS

last person joined: 8 months ago 

This is a legacy community with limited Juniper monitoring.
  • 1.  setting up dmz on ssg20

    Posted 01-07-2011 14:42

    hi, right now we use verizon fios modem on 0/0 port and internal network on 0/2

    i want to add a server on the dmz, i dont need it to have access to internal network resources, just internet connectivity.

    right now the server get ip from the firewall and dns/gateway config for the firewall ip address, but no internet connection.

     

    this is what i did until now:

     

    1. network->interfaces->list

    0/1 dmz ip 192.168.2.1/24 manageable

    manage ip 192.168.2.1

    interface mode: nat (i tried route also, just because i'm not sure what is the difference).

    services options i copied from 0/2 trust (web ui, ping, ssl, ssh)

    g-arp enabled by default

     

    2. network->dhcp (the internal network have dhcp server but the server in the dmz dont need to have access to that).

    ethernet0/1:

    dhcp service: server

    update from upstream dhcp client on interface any (default, i didnt touch that)

    gateway 192.168.2.1 (because in the internal network i see the computers get from the dhcp server a gateway config to 192.168.1.1, the other network card on the firewall).

     

    dns:1 192.168.2.1 - i dont really care about the dns right now because on the tests i tried to connect to website by their ip address.

    netmask: 255.255.255.0

     

    addresses:

    192.168.2.10-192168.2.130 dynamic

     

     

    3.policy->policies:

    from dmz to untrust:

    source - any

    destination - any

    service - any

    action - permit

     

    i know its not the most secure thing, but its the simply way in my situation...

     

     

     

    as you can see i'm not an expert in firewalls and we dont have IT department, so if you can please explain it to me in the most simple way, but to help me understand what was my mistake, it will be great.

     

    thanks in advance!



  • 2.  RE: setting up dmz on ssg20
    Best Answer

    Posted 01-08-2011 09:31

    Try adding nat source on Egress interface in the policy (advanced options in gui). DMZ zone doesn't nat source on interface setting like trust zone.



  • 3.  RE: setting up dmz on ssg20

    Posted 01-10-2011 10:46

    thank you so much! it works great.

     

    BTW, because its a DMZ i cant filter services with a policy?

    only when i choose ANY on "service" i get internet connection.

     

    i want the DMZ to be less secure than the trust network and block the connection between these two, but still i hope i can allow/block specific services/ports on the DMZ network.

     

     



  • 4.  RE: setting up dmz on ssg20

    Posted 01-10-2011 20:49

    You can still specify the services you want to allow.

    For standard browsing you'll need DNS, HTTP, HTTPS.

     

    If in doubt enable logging on your rule and see what services you are using when it is set to any.

     

    Sam.



  • 5.  RE: setting up dmz on ssg20

    Posted 01-13-2011 14:37

    thank you! the problem was the dns as you said (: