I did the .auth, interface and firewall section.
At this point everything is good.
But then i wanted another vpn connection and uploaded a second configuration file on openvpn.
I set everything up and the problem started.
The second interface connection is using the first vpn and the first interface isn't working.
If i click start stop several time on the first vpn service, i got my connection back of the first interface but the second interface doesn't have a connection.
And sometime the first interface is running on the second vpn connection and the other way around!
You configured a VPN connection, and requested to direct all traffic through it. Then you configure a second VPN connection, and also request to send all traffic through it.
Perhaps you could explain how you want it to behave, and someone will help you configure it accordingly.
I want multiple VPN connections, with multiple interface threw it.
If i make 1 VPN connection everything is good, i got two interface using it,
But when adding a second VPN connection trouble begin with strange problems.
VPN connection 1 > interface 1 & 2 ; interface connection 1 & 2 is using vpn connection two
VPN Connection 2 > interface 3 & 4 ; interface 3 & 4 has no connection.
If i stop and enable the vpn connection i got interface 1 & 2 over VPN connection 1 but VPN connection doesn't work or i have my real ip adres, this could also be the same around for VPN connection 2 with VPN connection 1
Again if you want the effect of two routers in one box you need helper programs like vpn-policy-routing to set up filtering and directions in the kernel for some users to use one default route and some to use another.
By default the OpenVPN client sets up to default route all Internet requests through the VPN tunnel, as it is assumed that only one instance of the client will be running. Starting a second instance will cause a breakdown.
The firewall forward rules only define which paths are allowed to route. The routing tables say what will actually be routed.
Thanks, could you better explain this maybe a noob guide?
Also why if i click the stop button, both vpn's stops and when i click start again the other vpn start but not the vpn that where the button belongs to?
You will probably get better support if you try to follow the current documentation and ask specific questions, rather that ask for yet another guide tailored to your needs.