Categories
Content Marketing

Allow URL in squid using regex

In this post, we will describe how to use regex for connecting to destination web site using squid.

  1. Open the squid configuration file:

Vi /etc/squid3/squid.conf

  1. Defining the destination url

########Object Definition###################

Acl google_api url_regex ^http://ajax.googleapis.com/ajax/*

  1. Authorize access:

######################Autorization######################

http_access allow google_api

  1. After saving the configuration we will proceed to reload squid process

/etc/ini.d/squid3 reload

Categories
Network

Configure IPSEC VPN in netscreen Firewall

In this post, we will describe how to configure Ipsec VPN (Client-to-Site) in netscreen device.

The device version is 6.3.x.

The remote user will connect to the internal network 192.168.24.0/24

Categories
Network

Configure SNMP in Juniper Firewall

In this post, we will describe how to configure snmp in Juniper firewall

We need to create the community. It will be named : FW-Comm

Enter configuration mode, then type:

Set snmp community FW-Comm authorization read-only

After defining the community we need to define the clients IP:

Set snmp community FW-Comm clients 192.168.1.100/32