Hi,
Is there any method available to define the AES/Rijndael key length for an IPSEC Phase 1 negotiation in M0n0 1.33/1.34 as I have a specific need to define this for setting up a VPN via m0n0 and another endpoint firewall which is not under my control?
When setting up a VPN between the two networks, Phase 1 negotiation is requesting from the endpoint using AES256 (which I cannot enforce to get changed to AES128 from the endpoint firewall team which I know works fine with standard m0n0), while m0n0 requests AES128t. I am also unable to use 3des or any other encryption methods for other security reasons also requested by the endpoint firewall team, hence my query.
An old post suggested that it can be possible by editing the ipsec_vpn_edit.php file as per post
http://m0n0.ch/wall/list-dev/showmsg.php?id=0/06 to have AES256
But this is slightly different in 1.33 as it looks like it is now embedded within "guiconfig.inc" as the following...
$p1_ealgos = array('des' => 'DES', '3des' => '3DES', 'blowfish' => 'Blowfish',
'cast128' => 'CAST128', 'aes' => 'AES');
$p2_ealgos = array('des' => 'DES', '3des' => '3DES', 'blowfish' => 'Blowfish',
'cast128' => 'CAST128', 'rijndael' => 'Rijndael (AES)');
Would editing the inclusion file above to have the following defined instead allow 256 bit to work with the version of racoon supplied on monowall ver 1.33/1.34 and still retain the ability to specify AES128 for other uses?
$p1_ealgos = array('des' => 'DES', '3des' => '3DES', 'blowfish' => 'Blowfish',
'cast128' => 'CAST128', 'aes' => 'AES', 'aes 256' => 'AES (256)');
$p2_ealgos = array('des' => 'DES', '3des' => '3DES', 'blowfish' => 'Blowfish',
'cast128' => 'CAST128', 'rijndael' => 'Rijndael (AES)', 'rijndael 256' => 'Rijndael (256)');
I could see the above using the exec.php method to download the file held in
/usr/local/www/guiconfig.inc
If the above is possible, how would I go about overwriting the above file on the m0n0wall device to allow the config to remain should a reboot be required?
This is using the embedded image on an ALIX 2d3 not generic/pc version. Also, would there be any issues using this on an ALIX 2d3 device if possible?
Any help would be most beneficial for me.
Thanks