Results 1 to 4 of 4

Thread: how to allow all ports from a specific IP to pass through the firewall ?

  1. #1

    Default how to allow all ports from a specific IP to pass through the firewall ?

    Hi there !

    I bought a new wireless MFP (HP MFP 135W) to use with my system (Tumbleweed).
    I manage to install the printer part using YAST. Fine.
    However, YAST Scanner setup (and the scanner app itself) only detects the networked scanner if the firewalld is disabled.
    How to figure out what ports are necessary to be open, or at least, how to allow all ports from/to a specific IP to pass through the firewall by using YAST or CLI (firewall-cmd) ?

    I appreciate any help,

  2. #2

    Default Re: how to allow all ports from a specific IP to pass through the firewall ?

    RHEL has a good firewall-cmd cheat sheet.
    Code:
    firewall-cmd --zone=trusted --add-source=192.168.1.40 --permanent
    
    I think it is not a big issue in a domestic environment to leave all ports open to/from a specific IP.
    Anyway, if anyone could give some hints about how to figure out what are the specific ports the scanner uses, I appreciate.

  3. #3
    Join Date
    Oct 2014
    Location
    Rotterdam
    Posts
    768

    Default Re: how to allow all ports from a specific IP to pass through the firewall ?


  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,120
    Blog Entries
    1

    Default Re: how to allow all ports from a specific IP to pass through the firewall ?

    This HPLIP firewall guide may be of interest to you.
    openSUSE Leap 15.4; KDE Plasma 5

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •