Network security is an important factor in the organization which relies on information technology. This reason makes network security mechanism must be implemented with good consideration and efficiency, to make sure there are not data that can be stolen by the attacker. IPSec is security protocol in layer three of the OSI model. The purpose of IPSec is to encrypt each data packet either in or…