Add input validation on vpn_ipsec_settings.php. Fixes #4052.