Skip to content

Configuration for two different servers #28

Answered by ruyrybeyro
uroshsi asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uroshsi
Comment options

Answer selected by uroshsi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants