Hi)
I have a problem with ssh. Situation is: I have a local network consisting of a router asus wl700ge and 2 computers connected to it, one of them running windows xp and another (very old one) - FreeBSD 8.2. Also I have some virtual machines on the xp machine, one of them running FreeBSD 8.2, with network adapter bridged to the local network.
FreeBSD on the virtual machine is configured just like FreeBSD on the old computer. I have a dynamic IP on the router and it is connected to the dyndns account, say, myaccount.dyndns.org. Router uses dchp and assigns local address, say, 192.168.0.2 to the old comp, and 192.168.0.3 to the FreeBSD virtual machine.
I have sshd running on both FreeBSD, both with the default configuration file except that ports are, say, 1 for the old comp and 2 for the virtual FreeBSD machine. Also router redirects ports 1 and 2 to local addresses 192.168.0.2 and 192.168.0.3 respectively.
Problem is that when I am trying to connect to the sshd server on the virtual machine using dyndns address, that is, typing
connection goes ok, but if I try typing
connection times out:
Result is the same when I use PuTTY for windows. An interesting thing I noticed is that when I try pinging the dyndns address, result differs on the old pc and the FreeBSD virtual machine. For virtual machine:
and for old comp the same, but without DUPs. How may this problem be solved?
I have a problem with ssh. Situation is: I have a local network consisting of a router asus wl700ge and 2 computers connected to it, one of them running windows xp and another (very old one) - FreeBSD 8.2. Also I have some virtual machines on the xp machine, one of them running FreeBSD 8.2, with network adapter bridged to the local network.
FreeBSD on the virtual machine is configured just like FreeBSD on the old computer. I have a dynamic IP on the router and it is connected to the dyndns account, say, myaccount.dyndns.org. Router uses dchp and assigns local address, say, 192.168.0.2 to the old comp, and 192.168.0.3 to the FreeBSD virtual machine.
I have sshd running on both FreeBSD, both with the default configuration file except that ports are, say, 1 for the old comp and 2 for the virtual FreeBSD machine. Also router redirects ports 1 and 2 to local addresses 192.168.0.2 and 192.168.0.3 respectively.
Problem is that when I am trying to connect to the sshd server on the virtual machine using dyndns address, that is, typing
Code:
ssh myaccount.dyndns.org -p 2 -l username
Code:
ssh myaccount.dyndns.org -p 1 -l username
Code:
$ ssh myaccount.dyndns.org -p 1 -l username
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to myaccount.dyndns.org [xxx.xxx.xxx.xxx] port 1.
debug1: connect to address xxx.xxx.xxx.xxx port 1: Connection timed out
ssh: connect to host myaccount.dyndns.org port 1: Connection timed out
Result is the same when I use PuTTY for windows. An interesting thing I noticed is that when I try pinging the dyndns address, result differs on the old pc and the FreeBSD virtual machine. For virtual machine:
Code:
$ ping myaccount.dyndns.org
PING myaccount.dyndns.org (xxx.xxx.xxx.xxx): 56 data bytes
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=0 ttl=64 time=1.638 ms
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=0 ttl=63 time=1.669 ms (DUP!)
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=1 ttl=64 time=3.142 ms
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=1 ttl=63 time=3.170 ms (DUP!)
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=2 ttl=64 time=2.599 ms
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=2 ttl=63 time=2.633 ms (DUP!)
64 bytes from xxx.xxx.xxx.xxx: icmp_seq=3 ttl=64 time=3.586 ms
--- myaccount.dyndns.org ping statistics ---
4 packets transmitted, 4 packets received, +3 duplicates, 0.0% packet loss
round-trip min/avg/max/stddev = 1.638/2.634/3.586/0.694 ms