View previous topic :: View next topic |
Author |
Message |
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Tue May 02, 2023 3:55 pm Post subject: reach my desktop via ssh (DynDNS) |
|
|
Hi hall !
I have created an host dynamic DNS (dynDns.it) and set it up on router ... I would like to know what I need to do in order to be able to connect from my parent's home with my desktop (I have just activate the hostname in the router) but I don't be sure if I need to do other things ... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54232 Location: 56N 3W
|
Posted: Tue May 02, 2023 5:20 pm Post subject: |
|
|
drudox,
On your own PC, can you
This tests that your PC is set up correctly.
In your router forward port 22 from the outside world to your PCs IP address.
Now the world will beat a path to your door.
The IPv4 address space is full and its being constantly scanned. You need a good password because within a few minutes you will start seeing dictionary attacks in your logs.
You can change the port that ssh listens on, that's security by obscurity. It will save your logs but you will still be found.
Key based login only is good. sshd will go through the login dance when a password is offered but it will fail every time.
Once the port is forwarded, can you connect from the outside world?
Install a ssh client on your phone and try.
Do you have a public IP on your router or are you behind CGNAT (Carrier Grade Network Address Translation)
The world is so short of IPv4 addresses that some ISPs give customers an IP address in the private range and use NAT themselves.
If you are behind CGNAT, you cannot connect from outside. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Tue May 02, 2023 5:26 pm Post subject: |
|
|
tnx Neddy I have solved was just a stupid thing |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54232 Location: 56N 3W
|
Posted: Tue May 02, 2023 5:28 pm Post subject: |
|
|
drudox,
:)
Fix your security. if you haven't already. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|