thank you both about your support and sorry for my questions, I am an absolute beginner in this field....
As I understand you in the right way, if I assign one Client e. g. to ovpn1 using his ip adress and the ovpn1 tunnel goes down, it is normally switched to wan except I would have a matching roule e. g. in ovpn2, correct?
@Torson : if I understand you in the right way, you configured ovpn2 that all clients are using this, if no other rule prior matches. so it would be e. g.
LAN 192.168.1.0/24 0.0.0.0 vpn
Router 192.168.1.1 0.0.0.0 wan
right?
if I understand you in a right way, you delete the rules you entered before manually by using a batch of del commands, if you are changing your configuration to avoid reboots. Is there a risk of getting a bootloop if I am using this script?
Is there a way to save all unmodified files at the beginning and restore them, if you want to change it or only over the batch of commands?
@Martineau : thanks a lot for your support too. You described in your configuration your ovpnc clients.1-New York,2-LA,3-ovpnc3,4-Glenside and 5-UK .. The rule numbers have a different order, so it seems to me, that ovpnc3 has a lower priority than the other ovpncs, is that correct? In this case I would be a little confused, because it should have a middle priority, or?
Apologies again for my many questions....
As I understand you in the right way, if I assign one Client e. g. to ovpn1 using his ip adress and the ovpn1 tunnel goes down, it is normally switched to wan except I would have a matching roule e. g. in ovpn2, correct?
@Torson : if I understand you in the right way, you configured ovpn2 that all clients are using this, if no other rule prior matches. so it would be e. g.
LAN 192.168.1.0/24 0.0.0.0 vpn
Router 192.168.1.1 0.0.0.0 wan
right?
if I understand you in a right way, you delete the rules you entered before manually by using a batch of del commands, if you are changing your configuration to avoid reboots. Is there a risk of getting a bootloop if I am using this script?
Is there a way to save all unmodified files at the beginning and restore them, if you want to change it or only over the batch of commands?
@Martineau : thanks a lot for your support too. You described in your configuration your ovpnc clients.1-New York,2-LA,3-ovpnc3,4-Glenside and 5-UK .. The rule numbers have a different order, so it seems to me, that ovpnc3 has a lower priority than the other ovpncs, is that correct? In this case I would be a little confused, because it should have a middle priority, or?
Apologies again for my many questions....
Last edited: