bitnom / VPN-Chain

Bash script for making chained OpenVPN connections.
MIT License
88 stars 29 forks source link

Problem to identify the correct tun device for new tunnel #5

Open Denio888 opened 6 years ago

Denio888 commented 6 years ago

Hi,

first the script is great. I like it very much.

But there is a problem that often appears when using 3 tunnels or more. Never had this problem with only 2 tunnels.

Sometimes openvpn or the script tries to assign for the third tunnel the same tun device which is already used with second tunnel.

Example: tun0 used for first tunnel tun1 used for second tunnel but then the script/openvpn tries to use tun1 again to establish the connection for the third tunnel.

This appears like 50% of my tries.

nagarajot commented 5 years ago

Same problem here ! Love this tool too though. Can't wait for the patch ^^ Thank you.