Hello all
I have a question: Is it possible to add more than one vpn server, for example nord, add more than one server with the .ovpn extension, then openwrt chooses one of the servers to connect to automatically (not manually) and chooses randomly in case you want to use a vpn?
I mean, I succeeded in installing and setting up the openwrt system on the router and making the VPN settings. I used one file to connect, which is us_california-aes-128-cbc-udp-dns.ovpn
But I don't want to be limited to this server, I just want to get all the servers in my nord account
It is easy in the manual way, but I want it to be automatic without having to go into the openwrt settings and replace the file us_california-aes-128-cbc-udp-dns.ovpn with another file!
Just create them as different OpenVPN interfaces. I am using a couple of interfaces of different VPN-protocols at the same time, the problem is as always there can only be one default gateway.
Then you can use mwan3 to balance between them or for examply vpn-policy-routing to for example have different outgoing OpenVPN connections for different clients:
Thank you for the reply sir
i beg your pardon
First: Can you explain this using commands, and I think that is what is meant, but how is that?
Assuming I have these files inside openvpn /etc/openvpn folder
1.ovpn
2.ovpn
3.ovpn
4.ovpn
5.ovpn
..... 100.ovpn
Where can I create a soft link?
secondly : how move the softlink pointer between files ?
I greatly appreciate your advice
I would like to add another idea , you can use the rename commands inside the cron instead of the delete command:
mv 1.ovpn default.ovpn
mv default.ovpn 1.ovpn
mv 2.ovpn default.ovpn
mv default.ovpn 2.ovpn