beautypg.com

Sample ipsec configuration file – AMX NI-2100/3100/4100 User Manual

Page 146

background image

Appendix A: IPSec Configuration File

138

NI Series WebConsole & Programming Guide

Sample IPSec Configuration File

The following is a sample IPSec configuration file:

ikeAddPeerAuth=192.168.220.57,%LOCAL_ADDR%,mm_g2,RSA,new.key.pem,AMXCA,

new.cert.pem

ikeAddPeerAuth=192.168.220.37,%LOCAL_ADDR%,mm_g2,PSK,password

spdAddTransport=ANY,192.168.220.57,%LOCAL_ADDR%,OUT,PACKET,IKE,qm_sa_g2_transport

spdAddTransport=ANY,192.168.220.37,%LOCAL_ADDR%,OUT,PACKET,IKE,qm_sa_g2_transport

# add bypass for IKE TCP port (500)

spdAddBypass=17/500/500,192.168.220.57,%LOCAL_ADDR%,OUT,MIRRORED

spdAddBypass=17/500/500,192.168.220.37,%LOCAL_ADDR%,OUT,MIRRORED

# add bypass for IPSEC-ESP protocol

spdAddBypass=50,192.168.220.57,%LOCAL_ADDR%,OUT,MIRRORED

spdAddBypass=50,192.168.220.37,%LOCAL_ADDR%,OUT,MIRRORED

# add bypass for IPSEC-AH protocol

spdAddBypass=51,192.168.220.57,%LOCAL_ADDR%,OUT,MIRRORED

spdAddBypass=51,192.168.220.37,%LOCAL_ADDR%,OUT,MIRRORED

This manual is related to the following products: