I run the php under command window : c:\xampp\php\php d:\php\ipsecupdate.php.
The ipsecupdate.dat created and the dynamic address is detected,
but I get "Error updating remote gateway" everytime, even I use the original seeting from download.
anything wrong, please help !!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use monowall 1.23, windows xp sp3 with xampp
I setup the ipsecupdate as below:
/**********************************************************************/
//Adjust these settings
$hostname = 'willstrong.com';
$filename = 'd:\php\ipsecUpdate.dat';
$monowall_hostname = '192.168.1.254';
$monowall_username = 'admin';
$monowall_password = 'mono';
/***********************************************************************/
/*****************************************************************************************/
//Adjust the lines below to match your settings
$postArray = array (
'interface' => 'wan',
'localnettype' => 'lan',
//?? 'localnet' => 'lan',
'remotenet' => '192.168.18.0',
'remotebits' => '24',
'remotegw' => $newIPAddress,
'descr' => 'dynamic ip',
'p1mode' => 'aggressive',
'p1myidentt' => 'user_fqdn',
'p1myident' => 'vpn@sunlick.com',
'p1ealgo' => 'blowfish',
'p1halgo' => 'hmac_md5',
'p1dhgroup' => '2',
'p1lifetime' => '86400',
'p1authentication_method' => 'pre_shared_key',
'p1pskey' => '31046289',
'p2proto' => 'esp',
'p2ealgos' => array ( 0 => '3des', 1 => 'blowfish', ),
'p2halgos' => array ( 0 => 'hmac_md5', ),
'p2pfsgroup' => '0',
'p2lifetime' => '86400',
'Submit' => 'Save',
'id' => '5',
);
/****************************************************************************************/
I run the php under command window : c:\xampp\php\php d:\php\ipsecupdate.php.
The ipsecupdate.dat created and the dynamic address is detected,
but I get "Error updating remote gateway" everytime, even I use the original seeting from download.
anything wrong, please help !!
Hi, I am not sure if the project is dead or......
I have got the similar error and the post data I received was "Bad request token. Please make sure cookies are enabled and try again"
I googled the error message and found since 1.34, The CSRF magic token that has been introduced......
Thanks Regards RW