Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lost connection to the middleman #2

Open
saleh-old opened this issue Jul 17, 2019 · 3 comments
Open

lost connection to the middleman #2

saleh-old opened this issue Jul 17, 2019 · 3 comments

Comments

@saleh-old
Copy link

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?

@iamckn
Copy link
Owner

iamckn commented Jul 18, 2019

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

@saleh-old
Copy link
Author

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.

@iamckn
Copy link
Owner

iamckn commented Jul 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants