I have an existing VPC ( vpcA ) and have recently configured a new VPC ( vpcB ) from both a private subnet ( privateSubnet ) and an open subnet ( publicSubnet ). I want to allow connection from vpcA to vpcB .
vpcB was configured with the Bastion server to allow ssh from publicSubnet and privateSubnet - it works, so I know that ssh is configured correctly ... so for a start I decided that I would try to allow ssh connection from vpcA to privateSubnet on vpcB .
I established a peer-to-peer connection and I followed all the instructions in the Amazon Troubleshooting Guide for troubleshooting VPC peer-to-peer network connection problems . The connection is active, I have the configuration of routes from vpcA to the route 10.0.1.0/24 to the private network (private address - 10.0.1.10 ), ACL policies display allow all traffic on port 22 (at the moment) and security groups allow access to the port 22 (again at the moment). In the instances themselves there are no firewall rules, but when I try to connect via ssh from the instance on vpcA , I get:
$ ssh -vvv 10.0.1.10 OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 10.0.1.10 [10.0.1.10] port 22. debug2: fd 3 setting O_NONBLOCK debug1: connect to address 10.0.1.10 port 22: Connection timed out ssh: connect to host 10.0.1.10 port 22: Connection timed out
traceroute gives me this:
traceroute to 10.0.1.10 (10.0.1.10), 30 hops max, 60 byte packets 1 * * * 2 * * * ... [same up to 30]
The ssh from the bastion server in publicSubnet on vpcB to privateSubnet on vpcB works fine, so I know that ssh itself works on the instance itself. But itβs obvious that traffic does not go through the VPC Peer connection.
I understand that troubleshooting may require more details than what I have provided so far, but does anyone there have this setting? Any suggestions on where to look next or what part of the configuration I can provide to give us clues about where the problem is?
Thanks!
source share