@genestar You shouldn't restore the router's "Save settings" file, although restoring a JFFS backup should be OK.
You could try using the old NVRAM utility
here although I wouldn't recommend that either as too much has changed since that was written. I suggest that you preserve your manually assigned IP's and port forwarding rules as follows and set up everything else (especially the VPN) manually.
Code:
nvram get dhcp_staticlist > dhcp_staticlist.txt
nvram get vts_rulelist > vts_rulelist.txt
Save these files in a safe place and restore them after a factory reset with:
Code:
nvram set dhcp_staticlist="$(cat dhcplist.txt)"
nvram set vts_rulelist="$(cat vts_rulelist.txt)"
nvram commit