Jump to content
Not connected, Your IP: 216.73.216.120
Sign in to follow this  
zanon321

ANSWERED if i want to run ssh on pc2 and connect to it from pc3 (while pc2 is sshing into pc1) it fails.

Recommended Posts

Hi
I created a port forwarding  on my  pc1 at port eg 3***** and running eddie on it, i can connect to it from pc2 via ssh over the internet.

but the moment i  activate eddie and route my home pc traffic via eddie on home pc as eg 1********
and then try to reach my office vis ssh, i get the below error 

ssh: connect to host ubuntu.airdns.org port 34445: Network is unreachable

then i have to delete the home port in my control panel at airvpn, and wait for hours for connection to reset on its own or chache to clear so that i can connect from home to office.
Basically airdns works great with just one active port.

if i want to run ssh on pc2 and connect to it from pc3 (while pc2 is sshing into pc1) it fails.

Any help on this pl. 

Share this post


Link to post

@zanon321

Hello!

We can reach your SSH server from the Internet, so the setup of sshd on the office PC is just fine.

You have a single key pair and a single port. When you connect your home PC to a VPN server, the DNS record of the domain name <your name>.airdns.org is updated to the exit IP address of the VPN server the home PC connected to, so the address of the office PC (behind the VPN server) is lost. In this case this setup could work only if the office PC is the last one to connect, so it's not a reliable scenario.

You need to create a new key pair and use a unique key on each computer. Then, link DDNS and port <your port> to only one of the key pairs (in this case, the office PC key pair). Finally make sure that you connect PCs to different VPN servers.

ALTERNATIVELY, just don't use DDNS but point ssh directly to the exit-IP address of the VPN server the office PC is connected to and make sure you connect each device to a different VPN server.


How to manage key pairs and certificates:
https://airvpn.org/forums/topic/26209-how-to-manage-client-certificatekey-pairs/


Kind regards
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...