Hi all!
I have a machine with one vimage, with a world accessible IP address. The vimage has sshd running on port 22 listening on their IP address. The host machine has sshd running on 2222 listening on an internal address of 10.1.1.1 (I used netgraph). I want to be able to ssh into the host with the vimage's IP address. So far in the vimage's ipfw configuration I have:
However when I try to ssh into the host machine with the vimage's ip address, the connection is refused.
Any pointers?
Thanks
I have a machine with one vimage, with a world accessible IP address. The vimage has sshd running on port 22 listening on their IP address. The host machine has sshd running on 2222 listening on an internal address of 10.1.1.1 (I used netgraph). I want to be able to ssh into the host with the vimage's IP address. So far in the vimage's ipfw configuration I have:
Code:
fwd 10.1.1.1,2222 tcp from any to VIMAGESPUBLICIPHERE dst-port 22 setup keep-state
However when I try to ssh into the host machine with the vimage's ip address, the connection is refused.
Any pointers?
Thanks