Add following line at the end. Please note this is a single line command so add it appropriately.
If required just type it manually

[email protected]#: fw log -f -t -n -l 2> /dev/null | awk 'NF' | sed '/^$/d' | logger -p local4.info -t CP_FireWall &

Permanently;

[email protected]#: cp /etc/rc.d/init.d/cpboot /etc/rc.d/init.d/cpboot.ORG

Edit cpboot file;

[email protected]#: vi /etc/rc.d/init.d/cpboot

Add following line at the end.

fw log -f -t -n -l 2> /dev/null | awk 'NF' | sed '/^$/d' | logger -p local4.info -t CP_FireWall &

Next,

add syslog log-remote-address x.x.x.x level info
save config

Leave a Comment