Re: Finding out what por to open on the firewall

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

 



Tried with tcdump -n host printer_ip and opened up all the ports I could see on the dump. Did not work out.

Ended up accepting all the traffic from the printer IP on the firewall.

Now it works.

Thanks

JP

On Fri, May 5, 2017 at 1:19 PM, Doug <dmcgarrett@xxxxxxxxxxxxx> wrote:

On 05/05/2017 01:16 PM, Tim wrote:
François Patte wrote:
You have a list of ports and associated devices/protocols in /etc/serveces
Doug:
Tried the command from root in pclos and got permission denied. I
don't know what if any ports are in use for anything, but I figured I
might find out.
Yes, it dawned on me that it is a file, and I did open the file--a very big one!
--doug
I'm surprised that root couldn't read that.  Or do you mean you tried to
execute that?  Rather than trying to read the contents of the
file /etc/services

I've always found netstat to be handy at seeing what services are trying
to do on my computer.  For example:

   netstat -antu

If you drop the "n" option, you'll see the names of things, rather than
the numerical IP addresses and port numbers.  For example:

   netstat -atu

Stick a "p" option onto the list, and you'll see the actual program
associated with the activity.

Either way, you'll see a bunch of lines with some having "LISTEN" as
their status.  Those are services listening to those ports, whether or
not anything is successfully communicating with them at the time.

But before you blindly allow anything that's listening, do some research
into the port numbers that you find listening.  Just open the ones
actually related to what you're trying to resolve.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@lists.fedoraproject.org



--
------------------------------
 /\_/\  
 |O O|  pepebuho@xxxxxxxxx
 ~~~~     Javier Perez
 ~~~~          While the night runs
 ~~~~          toward the day...
  m m       Pepebuho watches
                from his high perch.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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