CheckPont Gaia firewalls have new text-based configuration format.
Here you can download a script, that converts most of configuration on SPLAT system to new Gaia CLI commands, that can be pasted on to new system.
Script converts following data:
Interfaces (including bonding and vlans)
Routing
DNS
NTP
Bonding parameters and timezone data have to be preconfigured.
Script does not modify anything on the system, so it can be safely run on production systems.
Donwload:
splat2gaia.sh
Hello,
i tried to use your script and here is the messages I got :
[Expert@————-]# sh splat2gaia.sh
: command not found 10:
: command not found 14:
: command not found 17:
: command not found 20:
: command not found 21:
: command not found 22:
: command not found 23:
: command not found 25:
: command not found 26:
: command not found 27:
: command not found 28:
: command not found 30:
‘plat2gaia.sh: line 31: syntax error near unexpected token `{
‘plat2gaia.sh: line 31: `function oct2cidr () {
Any advise ?
thanks a lot.
regards;
Probably you don’t have “bc” present on the system. What is your OS on that box?
Try to download the script again too, just in case.
I have same error, anything you can suggest?