iamckn/chained-wireguard-ansible

lost connection to the middleman

saleh-old opened this issue · 3 comments

Thank you for your awesome work BTW.

I lost my connection to the middleman server after running this command from #5 of the tutorial:

ip rule add from 10.200.200.0/24 lookup middleman

Of course I replaced the 10.200.200.0 with middleman's IP address.

What did I do wrong?

Try log in to the gate and see if you can ssh to the middleman with its VPN IP.

Thank you for your fast response @iamckn.

I just connected to the gate, but couldn't ssh into the middleman (from it of course). it got refused too.

BTW, they're both two fresh cloud instances from Hetzner, I can delete and recreate them (I'm not worried about losing access). But I want to get the chained VPN working, hence wondering if I did any of the steps wrong.

Does the subnet you chose for your VPN conflict with any of the other existing interfaces? That could be a cause.
Also confirm that you're using the VPN private IP of the middleman when trying to ssh from the gate.