Configuration for two different servers #28
-
Hi, first of all thank you for this script! I have two clients, both of them are using Checkpoint for VPN access. How can I create and use two configurations? Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, Use one as is, with the default values: vpn.sh -i --vpn=FQDN_DNS_name_of_VPN The 2nd one, call it via a script, giving it a different configuration file and chroot directory, as in: vpn.sh -i --vpn=FQDN_DNS_name_of_VPN2 --chroot /opt/chroot2 --file /opt/etc/vpn2.conf After creating, for using the 2nd, you ought to add to every command --file /opt/etc/vpn2.conf Mind you both cannot be up at the same time, as the VPN client uses the same service ports. Best regards |
Beta Was this translation helpful? Give feedback.
Hi,
Use one as is, with the default values:
vpn.sh -i --vpn=FQDN_DNS_name_of_VPN
The 2nd one, call it via a script, giving it a different configuration file and chroot directory, as in:
vpn.sh -i --vpn=FQDN_DNS_name_of_VPN2 --chroot /opt/chroot2 --file /opt/etc/vpn2.conf
After creating, for using the 2nd, you ought to add to every command --file /opt/etc/vpn2.conf
Mind you both cannot be up at the same time, as the VPN client uses the same service ports.
Best regards