I'm connecting from Untangle IPSec to a another firewall. They're using in Phase 1, one of the following combinations below:

Encryption: AES (256 bit)
Integrity: SHA1

or

Encryption: 3DES
Integrity: MD5

It's not possible to change the client settings. As far as know, by default Untangle IPSec uses 3DES with SHA1.

How can I modify Untangle settings for this connection via shell? I'd like to modify those settings and make them permanent just for that connection.

Can you help me?