Score:0

Connecting to computers within a OpenVPN network with SSH

us flag

I have OpenVPN installed on a VPS and I wish to connect to any computers connected to it via SSH by using the subnet IP provided by OpenVPN. For some reason, whenever I try to start a SSH connection (say from 10.8.0.2 to 10.8.0.3), it doesn't work. Not because the connection is denied but because it hangs as if it was unable to find the target. Of course, I am already assuming that all the computers already have an OpenSSH server configured.

Some details:

  • Script I used to configure OpenVPN on my VPS: https://gist.github.com/dmytro/0606cb32e42fc0918466
  • I am using identical .ovpn files across all computers. The file already has the certificates and keys embedded on it.
  • The option duplicate-cn is enabled on OpenVPN's config file.
  • Even though I can ping to any target computer, nmap says that the host is down.
jp flag
If you can ping any target computer then routing and forwarding are working. Check you firewalls.
us flag
Please show your full OpenVPN config file in the question.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.