This section describes how to perform the initial configuration of a WXC ISM 200 using the JUNOS CLI. The WXC ISM 200 in this sample procedure is installed in slots 5 and 6 of the J Series Services Router.
To initially configure the WXC ISM 200:
The internal IP prefix and netmask 2.2.2.2/32 can be any IP address, but the netmask /32 is required. The primary (destination) IP address 10.8.51.2 can be any real address on the LAN in the same subnet as the router. To use the WXC ISM 200 with NAT, the destination address must be a public WAN IP address.
- user@host# set security policies from-zone
trust to-zone untrust policy trust–to-untrust match source-address
any
- user@host# set security policies from-zone
trust to-zone untrust policy trust–to-untrust match destination-address
any
- user@host# set security policies from-zone
trust to-zone untrust policy trust–to-untrust match application
any
- user@host# set security policies from-zone
trust to-zone untrust policy trust–to-untrust then permit application-services
redirect-wx
Packets sent from the LAN to the WAN are redirected to the WXC ISM 200 by the application service redirect-wx.
- user@host# set security policies from-zone
untrust to-zone trust policy untrust–to-trust match source-address
any
- user@host# set security policies from-zone
untrust to-zone trust policy untrust–to-trust match destination-address
any
- user@host# set security policies from-zone
untrust to-zone trust policy untrust–to-trust match application
any
- user@host# set security policies from-zone
untrust to-zone trust policy untrust–to-trust then permit application-services
reverse-redirect-wx
Packets sent from the WAN to the LAN are redirected to the WXC ISM 200 by the application service reverse-redirect-wx.
- user@host# set security policies from-zone
wx-zone to-zone untrust policy wx–to–untrust match source-address
any
- user@host# set security policies from-zone
wx-zone to-zone untrust policy wx–to–untrust match destination-address
any
- user@host# set security policies from-zone
wx-zone to-zone untrust policy wx–to–untrust match application
any
- user@host# set security policies from-zone
wx-zone to-zone untrust policy wx–to–untrust then permit
- user@host# set security policies from-zone
untrust to-zone wx-zone policy untrust-to-wx match source-address
any
- user@host# set security policies from-zone
untrust to-zone wx-zone policy untrust-to-wx match destination-address
any
- user@host# set security policies from-zone
untrust to-zone wx-zone policy untrust-to-wx match application any
- user@host# set security policies from-zone
untrust to-zone wx-zone policy untrust-to-wx then permit
- user@host# set security policies from-zone
wx-zone to-zone wx-zone policy wx–to–wx match source-address
any
- user@host# set security policies from-zone
wx-zone to-zone wx-zone policy wx–to–wx match destination-address
any
- user@host# set security policies from-zone
wx-zone to-zone wx-zone policy wx–to–wx match application
any
- user@host# set security policies from-zone
wx-zone to-zone wx-zone policy wx–to–wx then permit
- user@host# set security zones security-zone
trust interfaces all
- user@host# set security zones security-zone
trust host-inbound-traffic system-services all
- user@host# set security zones security-zone
trust host-inbound-traffic protocols all
- user@host# set security zones security-zone
trust address-book address local_lan_network 20.10.10.0/30
- user@host# set security zones security-zone
trust address-book address remote_lan_network 30.10.10.0/30
- user@host# set security policies from-zone
trust to-zone trust policy redirect match source-address local_lan_network
- user@host# set security policies from-zone
trust to-zone trust policy redirect match destination-address remote_lan_network
- user@host# set security policies from-zone
trust to-zone trust policy redirect match application any
- user@host# set security policies from-zone
trust to-zone trust policy redirect then permit application-services
redirect-wx
The application service redirect-wx redirects each packet to the WXC ISM 200.
- user@host# set security policies from-zone
trust to-zone trust policy reverse match source-address remote_lan_network
- user@host# set security policies from-zone
trust to-zone trust policy reverse match destination-address local_lan_network
- user@host# set security policies from-zone
trust to-zone trust policy reverse match application any
- user@host# set security policies from-zone
trust to-zone trust policy reverse then permit application-services
reverse-redirect-wx
The application service reverse-redirect-wx redirects each packet to the WXC ISM 200.