Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Wireless printing not working with nftables [solved]

Need help with peripherals or devices?
Post Reply
Message
Author
d76
Posts: 15
Joined: 2020-02-15 19:17
Has thanked: 4 times
Been thanked: 3 times

Wireless printing not working with nftables [solved]

#1 Post by d76 »

I followed Hallvor's well-written 'how-to' on nftables

Code: Select all

viewtopic.php?p=736536#p736536 
and it worked well except for printing. When I load the nftables.conf file (either the workstation configuration or Hallvor's customized configuration) I lose the connection with my wireless printer. It would seem I'm missing something rather obvious since I cannot find many others experiencing the same problem.

I've tried opening ports 53 and 443 (taken from the CUPS manual) but that made no difference. I also tried the nftables workstation configuration on the gentoo site

Code: Select all

https://wiki.gentoo.org/wiki/Nftables/Examples
but still no connection.

If I want to print I can either connect the printer using a usb cable or turn off the firewall.

Any suggestions on what I'm missing or where I should look for a solution?
Last edited by d76 on 2022-06-04 01:34, edited 1 time in total.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Wireless printing not working with nftables

#2 Post by Hallvor »

Try turning off the firewall and type (as root)

Code: Select all

# netstat -natp
That should show your printer's port.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

d76
Posts: 15
Joined: 2020-02-15 19:17
Has thanked: 4 times
Been thanked: 3 times

Re: Wireless printing not working with nftables

#3 Post by d76 »

Thanks for the quick reply, Hallvor, the information is what I needed.

Once I added the printer port to the firewall it worked as expected. Thanks for your assistance.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Wireless printing not working with nftables [solved]

#4 Post by Hallvor »

I am glad it helped.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Post Reply