Deepak Bisht
Deepak Bisht

Reputation: 45

how to ssh into an openstack instance from an outside network?

I have installed devstack in a single physical machine. I have already added ICMP rule and TCP rule on port 22 in openstack security group, therefore I can ssh into the instance from the same physical machine that is not a problem. What i want is to ssh into the Openstack instance from a different machine within the same network.

Upvotes: 1

Views: 765

Answers (2)

suraj singh
suraj singh

Reputation: 13

Case 1: Ping laptop from instance:
INSTANCE --> ARP --> LAPTOP.
LAPTOP --> ARP(Reply) --> INSTANCE

Case 2: Ping instance from laptop ,not working because ARP resolution failed.
LAPTOP --> ARP --> Failed

Solution: Use free IP(in your subnet).

Upvotes: 0

user5777975
user5777975

Reputation:

Use Provider network: If an instance is created using provider network IPs, you can access the instance from outside of the tenant/project.

Upvotes: 0

Related Questions