Solved

Juniper SSG5 Configuration

Posted on 2009-04-02
17
2,150 Views
Last Modified: 2012-05-06
So right now my Juniper SSG 5 is setup so that ethernet 0/0 is the untrust, ethernet 0/1 is the DMZ and the remaining ports 0/2-0/6 are all considered trust (bggroup 0).

Please view attatchment to identify some of my names...
What I want to do is eliminate "Switch 1", have the t-1 modem run straight into port 0/0 and have that configured with a static IP and then share that to all workstations for internet, then have ethernet 0/1 have a static IP assigned from the ISP as it is now, then have the remaining ports be part of the LAN, which will get the internet fro ethernet 0/0.  Is this possible or do I still need to use "Switch 1"?  Also, how do I configure ethernet 0/0 so that its static (input my IP, subnet, gateway, and DNS servers)?

The attatchment shows the way the network is currently laid out.  I want to replace the current router and switch 1 with the Juniper ssg5.
GR-Network-Map.pdf
0
Comment
Question by:novaman64
  • 9
  • 8
17 Comments
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24072266
When you say ethernet0/1 would get a public IP in same subnet as ethernet0/0 [given by ISP], you intend that traffic from internet directly hit ethernet0/1, if yes, then you need switch1; if no, i.e., you wish the traffic to hit ethernet0/0 and then get routed/NATted to ethernet0/1 then switch1 can be eliminated.

For configuring ethernet0/0 static IP, use following CLI:
set interface ethernet0/0 ip <static-ip-address>/<network-mask>

For configuring default gateway use following command:
set vrouter <croute-name> route 0.0.0.0/0 interface ethernet0/0 gateway <gateway-ip-address>

For setting DNS server:
set dns host dns1 <primary-dns-server-ip>
set dns host dns2 <secondary-dns-server-ip>

Thank you.
0
 

Author Comment

by:novaman64
ID: 24080022
How do I configure switch 1 so that I can use 2 public IP's?
0
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24084244
switch1 would only forward the traffic from t-1 modem to SSG interfaces, switch should not have its own IP address; I would put a non-manageable switch for connecting SSG to modem ports.

So the connection is:

t-1 modem-----switch---SSG ethernet 0/0 port
                                |---------SSG ethernet 0/1 port (if needed)

Thank you.
0
 

Author Comment

by:novaman64
ID: 24087652
How about if I want to use port forwarding and give it a seperate ip for instance if the normal LAN with all workstations is on 10.1.3.100-199 and I wanted that to be DMZ to 10.1.4.100...?  How do I configure it?
0
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24088735
If that is the case then you would NAT for internal and DMZ network.

Configure as below:
set int ethernet0/2 ip <ip-address>/<netmask>
set int eth0/2 nat
set int ethernet0/1 ip <ip-address>/<netmask>
set int eth0/1 nat

Now you can have 10.1.3.0/24 subnet at ethrnet0/2 and 10.1.4.0/24 at ethnet0/1.

Please note I have taken examples, you want to use bgroup0 instead of ethernet0/2 or as applicable.

Further for the packets to go out, you would need policies as below [you want to change as needed]:
set policy id x from trust to untrust any any any permit
set policy id y from dmz to untrust any any any permit

Here, ethernet0/0 is untrust and would have public IP as given by ISP.

Thank you.
0
 

Author Comment

by:novaman64
ID: 24088915
Would there be a way to use 2 public IP's?  For instance ip ending in 67.85.65.62 goes to the LAN on 10.1.3.0 and the other public IP, 67.85.86.62 goes to the DMZ port we created with IP of 10.1.4.0?
0
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24090315
Yes, we can use MIP [1-1 mapping] or VIP [static mapping].
So 1 IP would be used for internet access by all machines. The second IP can be forwarded using 1-1 mapping [maps only to one single internal machine]; or using static NAT where we can configure port/protocol forwarding for a specific internal machine. Different port/protocol pair can be forwarded to different internal machines using static VIP.

Thank you.
0
 

Author Comment

by:novaman64
ID: 24090558
here is my config, but I dont think its correct, as I need to get the 69.32.198.165 somehow mapped to 10.1.11.100 ip address...  now sure how to do that.. also is that jsut going to be on the DMZ port 0/1?

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 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 ""
set admin password ""
set admin auth timeout 10
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 "DMZ" tcp-rst
set zone "VLAN" block
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 bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup0 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 69.32.198.162/28
set interface ethernet0/0 route
set interface ethernet0/1 ip 10.1.11.1/24
set interface ethernet0/1 nat
set interface bgroup0 ip 10.1.10.1/24
set interface bgroup0 nat
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 ethernet0/0 vip 69.32.198.165
set interface ethernet0/1 dhcp client enable
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup0 dhcp server option dns1 69.27.17.71
set interface bgroup0 dhcp server option dns2 69.27.17.72
set interface bgroup0 dhcp server ip 10.1.10.100 to 10.1.10.199
unset interface bgroup0 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 no-tcp-seq-check
set 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 dns host dns1 69.27.17.71
set dns host dns2 69.27.17.72
set ike respond-bad-spi 1
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 2 from "Untrust" to "Trust"  "Any" "VIP(69.32.198.165)" "ANY" permit log
set policy id 2
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 32

Expert Comment

by:dpk_wal
ID: 24095888
I see following settings:

>> set policy id 2 from "Untrust" to "Trust"  "Any" "VIP(69.32.198.165)" "ANY" permit log
>> set policy id 2
>> exit

but do not find any related entry for VIP on untrust interface, add following CLI:
set interface ethernet0/0 vip 69.32.198.165 <port number> <service-name> 10.1.11.100

Please note with VIP you can forward specific port/protocol to different internal machines. For eg, TCP/80 to 10.1.11.100 and may be TCP/23 to some other machine and so forth.

Thank you.
0
 

Author Comment

by:novaman64
ID: 24097533
Is this correct?  not sure if I put th eport number in corrctly...  Also, do I assign this machine a IP of 10.1.11.1 static or do I just plug it into the DMZ port?

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 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 ""
set admin password ""
set admin auth timeout 10
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 "DMZ" tcp-rst
set zone "VLAN" block
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 bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup0 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 69.32.198.162/28
set interface ethernet0/0 route
set interface ethernet0/0 vip 69.32.198.165 80 Web 10.1.11.100
set interface ethernet0/1 ip 10.1.11.1/24
set interface ethernet0/1 nat
set interface bgroup0 ip 10.1.10.1/24
set interface bgroup0 nat
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 ethernet0/0 vip 69.32.198.165
set interface ethernet0/1 dhcp client enable
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup0 dhcp server option dns1 69.27.17.71
set interface bgroup0 dhcp server option dns2 69.27.17.72
set interface bgroup0 dhcp server ip 10.1.10.100 to 10.1.10.199
unset interface bgroup0 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 no-tcp-seq-check
set 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 dns host dns1 69.27.17.71
set dns host dns2 69.27.17.72
set ike respond-bad-spi 1
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 2 from "Untrust" to "Trust"  "Any" "VIP(69.32.198.165)" "ANY" permit log
set policy id 2
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
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
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24097604
The machine needs to have static IP; otherwise if the IP changes forwarding would not work. I do not think Web is a predefined service; if this is not a custom defined service then please use HTTP instead, in the following CLI:
>> set interface ethernet0/0 vip 69.32.198.165 80 Web 10.1.11.100
Execute following CLIs:
unset interface ethernet0/0 vip 69.32.198.165
set interface ethernet0/0 vip 69.32.198.165 80 HTTP 10.1.11.100

Thank you.
0
 

Author Comment

by:novaman64
ID: 24097689
Like this?  Just curious, why am I using the CLI unset for the interface, when I am setting it rt after?

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 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 ""
set admin password ""
set admin auth timeout 10
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 "DMZ" tcp-rst
set zone "VLAN" block
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 bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup0 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 69.32.198.162/28
set interface ethernet0/0 route
unset interface ethernet0/0 vip 69.32.198.165
set interface ethernet0/0 vip 69.32.198.165 80 HTTP 10.1.11.100
set interface ethernet0/1 ip 10.1.11.1/24
set interface ethernet0/1 nat
set interface bgroup0 ip 10.1.10.1/24
set interface bgroup0 nat
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 ethernet0/0 vip 69.32.198.165
set interface ethernet0/1 dhcp client enable
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup0 dhcp server option dns1 69.27.17.71
set interface bgroup0 dhcp server option dns2 69.27.17.72
set interface bgroup0 dhcp server ip 10.1.10.100 to 10.1.10.199
unset interface bgroup0 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 no-tcp-seq-check
set 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 dns host dns1 69.27.17.71
set dns host dns2 69.27.17.72
set ike respond-bad-spi 1
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 2 from "Untrust" to "Trust"  "Any" "VIP(69.32.198.165)" "ANY" permit log
set policy id 2
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
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
 
LVL 32

Accepted Solution

by:
dpk_wal earned 200 total points
ID: 24097807
I see following lines in your configuration:
unset interface ethernet0/0 vip 69.32.198.165
set interface ethernet0/0 vip 69.32.198.165 80 HTTP 10.1.11.100
set interface ethernet0/0 vip 69.32.198.165

So clean the configuration, I want you to execute:
unset interface ethernet0/0 vip 69.32.198.165
save

now if you check your configuration you should not have any reference for vip. You might need to unset the policy before device allows you to unset vip configuration.

Noe we would have clean config, we would add vip entry and corresponding policy CLI entries.

Please let know if I have confused you.

Thank you.
0
 

Author Comment

by:novaman64
ID: 24097893
Very confused.so I need to remove current lines or add another line?

If I add the CLI u just mentioned it shoud look like this???

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 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 ""
set admin password ""
set admin auth timeout 10
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 "DMZ" tcp-rst
set zone "VLAN" block
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 bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup0 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 69.32.198.162/28
set interface ethernet0/0 route
unset interface ethernet0/0 vip 69.32.198.165
set interface ethernet0/0 vip 69.32.198.165 80 HTTP 10.1.11.100
unset interface ethernet0/0 vip 69.32.198.165
save
set interface ethernet0/1 ip 10.1.11.1/24
set interface ethernet0/1 nat
set interface bgroup0 ip 10.1.10.1/24
set interface bgroup0 nat
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 ethernet0/0 vip 69.32.198.165
set interface ethernet0/1 dhcp client enable
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup0 dhcp server option dns1 69.27.17.71
set interface bgroup0 dhcp server option dns2 69.27.17.72
set interface bgroup0 dhcp server ip 10.1.10.100 to 10.1.10.199
unset interface bgroup0 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 no-tcp-seq-check
set 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 dns host dns1 69.27.17.71
set dns host dns2 69.27.17.72
set ike respond-bad-spi 1
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 2 from "Untrust" to "Trust"  "Any" "VIP(69.32.198.165)" "ANY" permit log
set policy id 2
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
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
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24098011
No we dont want unset after set; I would suggest you to use webUI instead; use IE and open the webUI [http://10.1.10.1] and configure as below:
under Network->Interfaces->List, click Edit for Ethernet0/0; click VIP; click Edit and make sure it is correctly listed.
Now go to Policy->Policies; you would see the policy for VIP; click Edit and after making sure it is fine click OK.

This should take care of the things.

Thank you.
0
 

Author Comment

by:novaman64
ID: 24098393
Ok, I went through and used the WebUI...  This is what I ended up with...  Does this look like it will work properly when I put in in a non-test environment?

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 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 "a"
set admin password ""
set admin auth timeout 10
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 "DMZ" tcp-rst
set zone "VLAN" block
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 bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup0 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 69.32.198.162/28
set interface ethernet0/0 route
set interface ethernet0/0 vip 69.32.198.165 80 HTTP 10.1.11.100
set interface ethernet0/1 ip 10.1.11.1/24
set interface ethernet0/1 nat
set interface bgroup0 ip 10.1.10.1/24
set interface bgroup0 nat
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 ethernet0/0 vip 69.32.198.165
set interface ethernet0/1 dhcp client enable
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup0 dhcp server option dns1 69.127.17.71
set interface bgroup0 dhcp server option dns2 69.127.17.72
set interface bgroup0 dhcp server ip 10.1.10.100 to 10.1.10.199
unset interface bgroup0 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 no-tcp-seq-check
set 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 dns host dns1 69.127.17.71
set dns host dns2 69.127.17.72
set ike respond-bad-spi 1
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 2 from "Untrust" to "Trust"  "Any" "VIP(69.32.198.165)" "ANY" permit log
set policy id 2
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
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
 
LVL 32

Expert Comment

by:dpk_wal
ID: 24099762
The settings look good now! :)

It should work. Please update.

Thank you.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

758 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

20 Experts available now in Live!

Get 1:1 Help Now