Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
10.11 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.06 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2413
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
  +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
  +url: null
  +body: """
    Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
    \n
    - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
    - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
    - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
    \n
    If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
    \n
    Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
    \n
    Thank you in advance for any suggestions!\n
    \n
    EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
    \n
    - sudo vi /etc/firewalld/firewalld.conf\n
    - Set LogDenied=all\n
    - sudo firewall-cmd --reload\n
    \n
    To find lines related to my printer (known to be at 192.168.1.57):\n
    \n
    - dmseg | grep 192.168.1.57\n
    \n
    Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
    \n
    [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
    \n
    [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
    \n
    [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
    \n
    Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 22
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1729454885 {#2418
    date: 2024-10-20 22:08:05.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +children: []
  -id: 33772
  -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
  -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1706596384
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/11317523"
  +editedAt: DateTimeImmutable @1729423135 {#1858
    date: 2024-10-20 13:18:55.0 +02:00
  }
  +createdAt: DateTimeImmutable @1706509984 {#2388
    date: 2024-01-29 07:33:04.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2413
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
  +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
  +url: null
  +body: """
    Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
    \n
    - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
    - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
    - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
    \n
    If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
    \n
    Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
    \n
    Thank you in advance for any suggestions!\n
    \n
    EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
    \n
    - sudo vi /etc/firewalld/firewalld.conf\n
    - Set LogDenied=all\n
    - sudo firewall-cmd --reload\n
    \n
    To find lines related to my printer (known to be at 192.168.1.57):\n
    \n
    - dmseg | grep 192.168.1.57\n
    \n
    Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
    \n
    [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
    \n
    [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
    \n
    [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
    \n
    Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 22
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1729454885 {#2418
    date: 2024-10-20 22:08:05.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +children: []
  -id: 33772
  -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
  -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1706596384
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/11317523"
  +editedAt: DateTimeImmutable @1729423135 {#1858
    date: 2024-10-20 13:18:55.0 +02:00
  }
  +createdAt: DateTimeImmutable @1706509984 {#2388
    date: 2024-01-29 07:33:04.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2413
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
  +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
  +url: null
  +body: """
    Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
    \n
    - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
    - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
    - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
    \n
    If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
    \n
    Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
    \n
    Thank you in advance for any suggestions!\n
    \n
    EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
    \n
    - sudo vi /etc/firewalld/firewalld.conf\n
    - Set LogDenied=all\n
    - sudo firewall-cmd --reload\n
    \n
    To find lines related to my printer (known to be at 192.168.1.57):\n
    \n
    - dmseg | grep 192.168.1.57\n
    \n
    Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
    \n
    [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
    \n
    [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
    \n
    [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
    \n
    Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 22
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1729454885 {#2418
    date: 2024-10-20 22:08:05.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +children: []
  -id: 33772
  -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
  -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1706596384
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/11317523"
  +editedAt: DateTimeImmutable @1729423135 {#1858
    date: 2024-10-20 13:18:55.0 +02:00
  }
  +createdAt: DateTimeImmutable @1706509984 {#2388
    date: 2024-01-29 07:33:04.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4110
  +user: App\Entity\User {#4058 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Are you using Avahi for the auto discovery? If so you need to open port 5353 UDP."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1729454885 {#4119
    date: 2024-10-20 22:08:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4108 …}
  +nested: Doctrine\ORM\PersistentCollection {#4106 …}
  +votes: Doctrine\ORM\PersistentCollection {#4104 …}
  +reports: Doctrine\ORM\PersistentCollection {#4102 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4070 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4074 …}
  -id: 349208
  -bodyTs: "'5353':16 'auto':7 'avahi':4 'discoveri':8 'need':12 'open':14 'port':15 'udp':17 'use':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/6523389"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706514167 {#4055
    date: 2024-01-29 08:42:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4110
  +user: App\Entity\User {#4058 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Are you using Avahi for the auto discovery? If so you need to open port 5353 UDP."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1729454885 {#4119
    date: 2024-10-20 22:08:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4108 …}
  +nested: Doctrine\ORM\PersistentCollection {#4106 …}
  +votes: Doctrine\ORM\PersistentCollection {#4104 …}
  +reports: Doctrine\ORM\PersistentCollection {#4102 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4070 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4074 …}
  -id: 349208
  -bodyTs: "'5353':16 'auto':7 'avahi':4 'discoveri':8 'need':12 'open':14 'port':15 'udp':17 'use':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/6523389"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706514167 {#4055
    date: 2024-01-29 08:42:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4110
  +user: App\Entity\User {#4058 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Are you using Avahi for the auto discovery? If so you need to open port 5353 UDP."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1729454885 {#4119
    date: 2024-10-20 22:08:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4108 …}
  +nested: Doctrine\ORM\PersistentCollection {#4106 …}
  +votes: Doctrine\ORM\PersistentCollection {#4104 …}
  +reports: Doctrine\ORM\PersistentCollection {#4102 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4070 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4074 …}
  -id: 349208
  -bodyTs: "'5353':16 'auto':7 'avahi':4 'discoveri':8 'need':12 'open':14 'port':15 'udp':17 'use':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/6523389"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706514167 {#4055
    date: 2024-01-29 08:42:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4142
  +user: App\Entity\User {#4131 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Is mdns allowed?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1729418540 {#4148
    date: 2024-10-20 12:02:20.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4147 …}
  +nested: Doctrine\ORM\PersistentCollection {#4146 …}
  +votes: Doctrine\ORM\PersistentCollection {#4137 …}
  +reports: Doctrine\ORM\PersistentCollection {#4140 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4135 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4133 …}
  -id: 349273
  -bodyTs: "'allow':3 'mdns':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7844217"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706517277 {#4153
    date: 2024-01-29 09:34:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4142
  +user: App\Entity\User {#4131 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Is mdns allowed?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1729418540 {#4148
    date: 2024-10-20 12:02:20.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4147 …}
  +nested: Doctrine\ORM\PersistentCollection {#4146 …}
  +votes: Doctrine\ORM\PersistentCollection {#4137 …}
  +reports: Doctrine\ORM\PersistentCollection {#4140 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4135 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4133 …}
  -id: 349273
  -bodyTs: "'allow':3 'mdns':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7844217"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706517277 {#4153
    date: 2024-01-29 09:34:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4142
  +user: App\Entity\User {#4131 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Is mdns allowed?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1729418540 {#4148
    date: 2024-10-20 12:02:20.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4147 …}
  +nested: Doctrine\ORM\PersistentCollection {#4146 …}
  +votes: Doctrine\ORM\PersistentCollection {#4137 …}
  +reports: Doctrine\ORM\PersistentCollection {#4140 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4135 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4133 …}
  -id: 349273
  -bodyTs: "'allow':3 'mdns':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7844217"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706517277 {#4153
    date: 2024-01-29 09:34:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4228
  +user: App\Entity\User {#4241 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "As I understand this article ( [linuxconfig.org/how-to-monitor-network-activity-o…](https://linuxconfig.org/how-to-monitor-network-activity-on-a-linux-system) ), you can disable firewall and run “sudo netstat -tulpen” to get a list of all connections and find which ports need to be forwarded."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1706518256 {#4223
    date: 2024-01-29 09:50:56.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4229 …}
  +nested: Doctrine\ORM\PersistentCollection {#4231 …}
  +votes: Doctrine\ORM\PersistentCollection {#4233 …}
  +reports: Doctrine\ORM\PersistentCollection {#4235 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4239 …}
  -id: 349295
  -bodyTs: "'/how-to-monitor-network-activity-o':8 '/how-to-monitor-network-activity-on-a-linux-system)':11 'articl':5 'connect':27 'disabl':14 'find':29 'firewal':15 'forward':35 'get':22 'linuxconfig.org':7,10 'linuxconfig.org/how-to-monitor-network-activity-o':6 'linuxconfig.org/how-to-monitor-network-activity-on-a-linux-system)':9 'list':24 'need':32 'netstat':19 'port':31 'run':17 'sudo':18 'tulpen':20 'understand':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/8783076"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706518256 {#4224
    date: 2024-01-29 09:50:56.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4228
  +user: App\Entity\User {#4241 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "As I understand this article ( [linuxconfig.org/how-to-monitor-network-activity-o…](https://linuxconfig.org/how-to-monitor-network-activity-on-a-linux-system) ), you can disable firewall and run “sudo netstat -tulpen” to get a list of all connections and find which ports need to be forwarded."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1706518256 {#4223
    date: 2024-01-29 09:50:56.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4229 …}
  +nested: Doctrine\ORM\PersistentCollection {#4231 …}
  +votes: Doctrine\ORM\PersistentCollection {#4233 …}
  +reports: Doctrine\ORM\PersistentCollection {#4235 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4239 …}
  -id: 349295
  -bodyTs: "'/how-to-monitor-network-activity-o':8 '/how-to-monitor-network-activity-on-a-linux-system)':11 'articl':5 'connect':27 'disabl':14 'find':29 'firewal':15 'forward':35 'get':22 'linuxconfig.org':7,10 'linuxconfig.org/how-to-monitor-network-activity-o':6 'linuxconfig.org/how-to-monitor-network-activity-on-a-linux-system)':9 'list':24 'need':32 'netstat':19 'port':31 'run':17 'sudo':18 'tulpen':20 'understand':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/8783076"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706518256 {#4224
    date: 2024-01-29 09:50:56.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4228
  +user: App\Entity\User {#4241 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "As I understand this article ( [linuxconfig.org/how-to-monitor-network-activity-o…](https://linuxconfig.org/how-to-monitor-network-activity-on-a-linux-system) ), you can disable firewall and run “sudo netstat -tulpen” to get a list of all connections and find which ports need to be forwarded."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1706518256 {#4223
    date: 2024-01-29 09:50:56.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4229 …}
  +nested: Doctrine\ORM\PersistentCollection {#4231 …}
  +votes: Doctrine\ORM\PersistentCollection {#4233 …}
  +reports: Doctrine\ORM\PersistentCollection {#4235 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4239 …}
  -id: 349295
  -bodyTs: "'/how-to-monitor-network-activity-o':8 '/how-to-monitor-network-activity-on-a-linux-system)':11 'articl':5 'connect':27 'disabl':14 'find':29 'firewal':15 'forward':35 'get':22 'linuxconfig.org':7,10 'linuxconfig.org/how-to-monitor-network-activity-o':6 'linuxconfig.org/how-to-monitor-network-activity-on-a-linux-system)':9 'list':24 'need':32 'netstat':19 'port':31 'run':17 'sudo':18 'tulpen':20 'understand':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/8783076"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706518256 {#4224
    date: 2024-01-29 09:50:56.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4301
  +user: App\Entity\User {#4314 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    Surely your firewall has an audit log for denied traffic.\n
    \n
    Or, turn off the firewall and run Wireshark while you print something.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1706530389 {#4296
    date: 2024-01-29 13:13:09.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4302 …}
  +nested: Doctrine\ORM\PersistentCollection {#4304 …}
  +votes: Doctrine\ORM\PersistentCollection {#4306 …}
  +reports: Doctrine\ORM\PersistentCollection {#4308 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
  -id: 349577
  -bodyTs: "'audit':6 'deni':9 'firewal':3,15 'log':7 'print':21 'run':17 'someth':22 'sure':1 'traffic':10 'turn':12 'wireshark':18"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6947612"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706530389 {#4297
    date: 2024-01-29 13:13:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4301
  +user: App\Entity\User {#4314 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    Surely your firewall has an audit log for denied traffic.\n
    \n
    Or, turn off the firewall and run Wireshark while you print something.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1706530389 {#4296
    date: 2024-01-29 13:13:09.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4302 …}
  +nested: Doctrine\ORM\PersistentCollection {#4304 …}
  +votes: Doctrine\ORM\PersistentCollection {#4306 …}
  +reports: Doctrine\ORM\PersistentCollection {#4308 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
  -id: 349577
  -bodyTs: "'audit':6 'deni':9 'firewal':3,15 'log':7 'print':21 'run':17 'someth':22 'sure':1 'traffic':10 'turn':12 'wireshark':18"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6947612"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706530389 {#4297
    date: 2024-01-29 13:13:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4301
  +user: App\Entity\User {#4314 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "Firewall-preventing-Printing-Scanning-on-OpenSUSE-Tumbleweed"
    +title: "Firewall preventing Printing/Scanning on OpenSUSE Tumbleweed"
    +url: null
    +body: """
      Hello, I’m trying to use my Epson XP-200 printer/scanner with OpenSUSE Tumblweed.\n
      \n
      - /etc/sane.d/dll.conf has the “epson2” line uncommented.\n
      - /etc/sane.d/epson2.conf has “net autodiscovery” as its last line\n
      - My user is part of the “lp” group, which seems to be required for finding printers/scanners\n
      \n
      If I disable the firewall completely (using YaST2 firewall program), it works – the Skanlite software detects my scanner and connects to it. With the firewall enabled, however, Skanlite says SANE cannot find any scanners. I have tried allowing TCP and UDP ports 8610, 8612 (based on suggestions from [wiki.debian.org/SaneOverNetwork](https://wiki.debian.org/SaneOverNetwork)), and 631 (for CUPS) in the “public” zone, and added the “sane” service to “Allowed” services (didn’t see a “cups” service option), but Skanlite still says SANE cannot find the scanner.\n
      \n
      Is there a way for “net autodiscovery” to work without completely disabling my firewall? What ports/services should I allow? It seems the alternative is to manually specify the printer’s IP address in /etc/sane.d/epson2.conf instead of “net autodiscovery”, but I would prefer to not hardcode this.\n
      \n
      Thank you in advance for any suggestions!\n
      \n
      EDIT: Based on suggestions below, I turned on firewall logging with the instructions [cyberciti.biz/…/enable-firewalld-logging-for-deni…](https://www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):\n
      \n
      - sudo vi /etc/firewalld/firewalld.conf\n
      - Set LogDenied=all\n
      - sudo firewall-cmd --reload\n
      \n
      To find lines related to my printer (known to be at 192.168.1.57):\n
      \n
      - dmseg | grep 192.168.1.57\n
      \n
      Here is a sample of the output (192.168.1.105 is my OpenSUSE computer):\n
      \n
      [30974.673679] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37923 PROTO=UDP SPT=3289 DPT=48375 LEN=84 MARK=0x3214\n
      \n
      [30976.299712] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=37924 PROTO=UDP SPT=3289 DPT=52415 LEN=84 MARK=0x3214\n
      \n
      [31139.093164] filter_IN_public_REJECT: IN=wlp0s20f0u3 OUT= MAC= SRC=192.168.1.57 DST=192.168.1.105 LEN=104 TOS=0x00 PREC=0x00 TTL=30 ID=38084 PROTO=UDP SPT=3289 DPT=46833 LEN=84 MARK=0x3214\n
      \n
      Looks like 3289 UDP is the port of interest, and it shows up on an EPSON website ([epson.com/faq/SPT_C11CG18201~faq-0000525-shared?f…](https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532)). I tried adding it to “public” and “home” zones and it still doesn’t work. Is there a different zone I should be using?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 22
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729454885 {#2418
      date: 2024-10-20 22:08:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 33772
    -titleTs: "'firewal':1 'opensus':5 'prevent':2 'printing/scanning':3 'tumblewe':6"
    -bodyTs: "'-200':10 '/enable-firewalld-logging-for-deni':195 '/etc/firewalld/firewalld.conf':201 '/etc/sane.d/dll.conf':15 '/etc/sane.d/epson2.conf':21,161 '/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':198 '/faq/spt_c11cg18201~faq-0000525-shared?f':355 '/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':358 '/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':95 '0x00':253,255,286,288,319,321 '0x3214':269,302,335 '104':251,284,317 '192.168.1.105':232,249,282,315 '192.168.1.57':221,224,247,280,313 '30':257,290,323 '30974.673679':237 '30976.299712':270 '31139.093164':303 '3289':263,296,329,338 '37923':259 '37924':292 '38084':325 '46833':331 '48375':265 '52415':298 '631':97 '84':267,300,333 '8610':87 '8612':88 'ad':105,361 'address':159 'advanc':177 'allow':82,110,146 'altern':150 'autodiscoveri':24,134,165 'base':89,182 'cannot':75,124 'cmd':208 'complet':50,138 'comput':236 'connect':64 'cup':99,116 'cyberciti.biz':194 'detect':60 'didn':112 'differ':377 'disabl':47,139 'dmseg':222 'doesn':371 'dpt':264,297,330 'dst':248,281,314 'edit':181 'enabl':70 'epson':8,351 'epson.com':354,357 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?f':353 'epson.com/faq/spt_c11cg18201~faq-0000525-shared?faq_cat=faq-8796127635532)).':356 'epson2':18 'filter':238,271,304 'find':43,76,125,211 'firewal':49,53,69,141,189,207 'firewall-cmd':206 'grep':223 'group':36 'hardcod':172 'hello':1 'home':366 'howev':71 'id':258,291,324 'instead':162 'instruct':193 'interest':344 'ip':158 'known':217 'last':27 'len':250,266,283,299,316,332 'like':337 'line':19,28,212 'log':190 'logdeni':203 'look':336 'lp':35 'm':3 'mac':245,278,311 'manual':153 'mark':268,301,334 'net':23,133,164 'opensus':13,235 'option':118 'output':231 'part':32 'port':86,342 'ports/services':143 'prec':254,287,320 'prefer':169 'printer':156,216 'printer/scanner':11 'printers/scanners':44 'program':54 'proto':260,293,326 'public':102,240,273,306,364 'reject':241,274,307 'relat':213 'reload':209 'requir':41 'sampl':228 'sane':74,107,123 'say':73,122 'scanner':62,78,127 'see':114 'seem':38,148 'servic':108,111,117 'set':202 'show':347 'skanlit':58,72,120 'softwar':59 'specifi':154 'spt':262,295,328 'src':246,279,312 'still':121,370 'sudo':199,205 'suggest':91,180,184 'tcp':83 'thank':174 'tos':252,285,318 'tri':4,81,360 'ttl':256,289,322 'tumblwe':14 'turn':187 'udp':85,261,294,327,339 'uncom':20 'use':6,51,382 'user':30 'vi':200 'way':131 'websit':352 'wiki.debian.org':94 'wiki.debian.org/saneovernetwork](https://wiki.debian.org/saneovernetwork)),':93 'without':137 'wlp0s20f0u3':243,276,309 'work':56,136,373 'would':168 'www.cyberciti.biz':197 'www.cyberciti.biz/faq/enable-firewalld-logging-for-denied-packets-on-linux/)):':196 'xp':9 'yast2':52 'zone':103,367,378"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706596384
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/11317523"
    +editedAt: DateTimeImmutable @1729423135 {#1858
      date: 2024-10-20 13:18:55.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706509984 {#2388
      date: 2024-01-29 07:33:04.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    Surely your firewall has an audit log for denied traffic.\n
    \n
    Or, turn off the firewall and run Wireshark while you print something.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1706530389 {#4296
    date: 2024-01-29 13:13:09.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@iggames@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4302 …}
  +nested: Doctrine\ORM\PersistentCollection {#4304 …}
  +votes: Doctrine\ORM\PersistentCollection {#4306 …}
  +reports: Doctrine\ORM\PersistentCollection {#4308 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
  -id: 349577
  -bodyTs: "'audit':6 'deni':9 'firewal':3,15 'log':7 'print':21 'run':17 'someth':22 'sure':1 'traffic':10 'turn':12 'wireshark':18"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6947612"
  +editedAt: null
  +createdAt: DateTimeImmutable @1706530389 {#4297
    date: 2024-01-29 13:13:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED edit
App\Entity\Magazine {#264
  +icon: Proxies\__CG__\App\Entity\Image {#245 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#274
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#236 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
  +entries: Doctrine\ORM\PersistentCollection {#179 …}
  +posts: Doctrine\ORM\PersistentCollection {#137 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
  +bans: Doctrine\ORM\PersistentCollection {#116 …}
  +reports: Doctrine\ORM\PersistentCollection {#102 …}
  +badges: Doctrine\ORM\PersistentCollection {#80 …}
  +logs: Doctrine\ORM\PersistentCollection {#70 …}
  +awards: Doctrine\ORM\PersistentCollection {#1360 …}
  +categories: Doctrine\ORM\PersistentCollection {#1792 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#268
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#270
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details