Re: open port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-02-16 17:33, Samuel Sieb wrote:
> On 2/16/20 1:20 AM, Patrick Dupre wrote:
>> nmap -v -n -Pn -p5900-5906 localhost
>> PORT     STATE  SERVICE
>> 5900/tcp closed vnc
>> 5901/tcp open   vnc-1
>> 5902/tcp closed vnc-2
>> 5903/tcp closed vnc-3
>> 5904/tcp closed unknown
>> 5905/tcp closed unknown
>> 5906/tcp closed unknown
>
> Now you have it running, so the next step is to figure out how to ask firewalld to allow connections to that port.  I recommend the graphical interface.  In any case be aware of the difference between the running config and the saved config.

He does seem to have it running on the "localhost".  But the status of "closed" makes me suspicious
That there is another device/firewall between the client and server.  Notice his client is connecting
to 193.52.235.60.

I say this since it has been my experience if a firewalld rule is blocking a connection it will show up
as "filtered".

For example, f32k is the server and meimei the client.  Using ssh as the example server.

With sshd running on the server and firewall open.

PORT   STATE SERVICE
22/tcp open  ssh

With sshd stopped

PORT   STATE  SERVICE
22/tcp closed ssh

And with sshd stopped and firewalld configured to disallow the sshd server

PORT   STATE    SERVICE
22/tcp filtered ssh

And, for completeness, with sshd running and firewalld configured to disallow the sshd server

PORT   STATE    SERVICE
22/tcp filtered ssh

I am wondering if he needs to add a "port forward" rule on 193.52.235.60 to connect to the
"real" vnc-server behind a router's firewall.

-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux