Score:0

Iptables configuration for IPP printing to public printer

cn flag

Is the following configuration correct to allow IPP printing to a remote public printer (to any IP address)?

iptables -A IN -i eth1 -p tcp -m tcp --sport 631 -m state --state ESTABLISHED -j ACCEPT
iptables -A OUT -o eth1 -p tcp -m tcp --dport 631 -j ACCEPT

Should I accept RELATED incoming requests too?

Is it normal that the external printer sends unrelated requests (from source port 631) back to my computer? Is it safe to block those requests?

Note that printing seems to work correctly with those settings, but I wonder if blocking those unrelated requests may impact error reporting/recovery.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.