LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2019, 03:28 AM   #16
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202

@Allend,

Thanks for your attention.

The port 22222 is filtered and from HERE, I understand that --
Quote:
Filtered means that a firewall, filter, or other network obstacle is blocking the port so that Nmap cannot tell whether it is open or closed.
Note that the port 22222 would be on the Public IP (my dynamic dns would always resolve my hostname to current public IP,which I verified with a vpn connection). Since The Public IP is dished by the ISP, it's a dynamic ip. I have no control over whichever port they choose to open,close or put in stealth/filtered.

Quote:
Perhaps silly question, but is sshd running on the target PC?
Yes, like I said before, within the intranet (LAN), I can ssh to my computers just fine.

Quote:
Perhaps try setting the router to pass port 22222 to the target PC and set sshd to listen on that port.
Yes, this is also done, many times each on two different routers, using different non-standard ports. (check the screenshots on my earlier posts)

Quote:
Check that any firewall on the target PC is allowing the incoming connection. (Check 'dmesg' for records of blocked connections.)
Target PC does not have any entry for a blocked connection, which makes me believe that it is getting blocked at the ISP. Also, as I understand, the error message should have said "connection refused", instead of "Network Unreachable" if it were blocked at my side. [Do correct me if I am wrong].

Right now, I am waiting for a static IP to be assigned from my ISP, after which I would request them to open a non-standard port for me. (Thanks to @michaelk for the suggestion)

Last edited by Honest Abe; 02-24-2019 at 03:35 AM. Reason: typos
 
Old 02-25-2019, 08:11 AM   #17
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Thumbs up Finally !!

Hey Guys,

Just wanted to update that after getting a static IP from my ISP, I am able to ssh over the public IP.. W00t !!

Thanks to all who assisted with their valuable inputs .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Client DNS records not getting updated in Dynamic DNS. gauravgoel1989 Linux - Server 3 02-04-2019 10:01 AM
Dynamic DNS with router update - How to configure DNS name server? Thomas Korimort Linux - Networking 1 07-25-2016 07:57 AM
TSM-backup files with management class with the serialization dynamic/shared dynamic Rohit_4739 Linux - Software 1 01-18-2013 01:43 PM
Restricting Dynamic Ipaddress by based on Dynamic DNS host names karthik9110 Linux - Newbie 5 12-13-2009 11:46 PM
Dynamic name resolution for dynamic IP merlin740 Linux - Software 2 10-04-2004 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration