I have two Red Hat Enterprise Linux 6 systems that are both on the same network:
HOST1 - Snort Sensor - 192.168.1.5
HOST2 - MySQL Database Server - 192.168.1.10
I need to make the Snort sensor write to the database via an ipsec tunnel. I have the tunnel created using openswan using these instructions: http://www.putorius.net/2012/08/creating-end-to-end-ipsec-tunnel.html
Now I am wondering how do I force all MySQL traffic through the tunnel? Any help would be appreciated.