bitnom / VPN-Chain

Bash script for making chained OpenVPN connections.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem to identify the correct tun device for new tunnel

Denio888 opened this issue · comments

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.

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