On Sunday, May 19th, 2013, at 17:31:24h +0000, R Oot wrote:
>> I had tried my efforts first with this connection:
>>
>> cable-modem<-OomaTelo<-DIR655<-computer with static IP
Okay so now we can see your setup
PC ----> DIR-655 ---> OomaTelo --> cable-modem
An Ooma Telo is a VOIP telephone box.
Surely your arrangement should be this --
PC[-----------+
| +---------+
+----] | +-------------+
| DIR 655 [-------]cable adaptor[------> cable company
+----] | +-------------+
| +---------+
OOma Telo[-----+
If the ethernet cable from the PC is going to the OOmaTelo and so
is subject to double NATting from the OOmaTelo and the DIR655 then
as I previously stated you will have problems.
>> When this didn't work I moved the OomaTelo out:
>>
>> cable-modem<-DIR655<-computer with fixed IP address
Well I do not see why you would have the PC connected to
the OOmaTelo because it will make life very awkward if
the OOmaTelo is doing routing. If it is just acting as
a switch then of course it does not matter.
>> cable-modem<-computer with dhcp
I told you that having a DHCP pool address on your
computer is not going to work. Also without knowing whether
or not your cable adapter has any routing capabilities
I cannot offer any advice on this setup.
>> And I couldn't get a valid dhcp response.
Why should you expect one if your cable adapter is just
a cable adapter and not a router with dhcp service?
> I really mis-stated my plan. I don't want to be able to
> log into my machine when I am away, I want to allow my
> friends to log into my machine from time to time.
It does not matter who is logging into your machine
so long as you authorized them to and are happy with
them making use of your machine.
> I say this because it seems DynDNS.com is no longer free.
Your conclusion is wrong because the basic DynDNS service
is still free, you just have to get past the "buy our
standard or enhanced service" teasers.
However since last month, you do have to login to your
free account at the web site once a month to avoid
automatic deletion as the auto-update from the router
is no longer accepted as account validation for obvious
reasons (they want people to buy their service by making
the free one less convenient).
> Discovered open port 22/tcp on 74.207.244.221 <-----HERE
So if I understand correctly, that was done from an external
site, and thus shews that the port on your router is open.
So the problem is not one of an open port on the router,
but one of the router forwarding packets from port 22
to the machine with specified fixed IP, not a floating
one from DHCP, and of course that sshd is actually up
and running on that machine.
> You also cautioned me to be careful about security. Right now I just
> want to get some hint that a possible solution exists.
If you did not get a sufficient *hint* from my previous posting
that *a solution does exist*, then clearly I cannot be of
any further help to you.
> You wanted me to set /etc/hosts.allow. Here is my file:
> #
> # hosts.allow This file describes the names of the hosts which are
> # allowed to use the local INET services, as decided by
> # the '/usr/sbin/tcpd' server.
> #
> # Version: @(#)/etc/hosts.allow 1.00 05/28/93
> #
> # Author: Fred N. van Kempen, <
wal...@uwalt.nl.mugnet.org
> #
> #
>
> ALL:ALL
> sshd: all
> rshd: all
> # End of hosts.allow.
NEVER USE RSHD!!!!! So that line should never be there.
And putting in ALL:ALL is the equivalent of not bothering
with TCP wrapper security at all.
When you leave your car in the road, do you turn off the
car alarm and leave all the doors unlocked and the windows open?
> I had been trying ssh. You suggested slogin, which I tried.
ssh and slogin are basically the same thing.
The purpose of ssh is to say ssh user@host command
If you do not specify the command, then it is the equivalent of slogin
If you do man slogin, you will see that it just display the manual page for ssh
> Again thanks for responding, but I am still not able to
> slogin. I am next going to try connecting from some
> site other than my alumni shell account.
You see there you go again not following the advice that was
given and trying something which will be a waste of time.
The first test you should be doing, as I explained in the previous
message, is to check if sshd is running on the machine and if on that
machine you can get a connection with slogin
Have you even bothered to check the configuration for ssh and sshd
in /etc/ssh on your machine?
Have you configured your PC to have a fixed IP address?
And have you generated a key for use with ssh as I strongly advised?
If you do not wish to follow advice offered, then my attemtps to
help you are futile.