Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a multi-functional machine which is both a laser printer and a scanner (Samsung SC-4705ND)

I am not able to make the scanner work with the (software) firewall installed in my computer turned on. Operating system is ubuntu 12.04 with regular firewall.

if firewall is turned off then everything works as expected

I run nmap to discover open services on the samsung machine and I opened all these ports:

80, 427, 515, 631, 5200, 9100, 10001

but with not luck..

How should I configure firewall?

share|improve this question

closed as not constructive by joeqwerty, Sven, Lucas Kauffman, petrus, mdpc Nov 20 '12 at 17:52

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Are you restricting ingress only, or also egress? –  Manuel Faux Nov 18 '12 at 19:00
    
run wireshark while printing and scanning... that should tell you what's what... or.. see other answer.. –  Tom Newton Nov 18 '12 at 20:50
    
Thank you. I used wireshark and I got various communication between pc address and printer/scanner address with main port 1514, but still nothing consistent –  George Pligor Nov 18 '12 at 21:35

1 Answer 1

up vote 0 down vote accepted

Whitelist the MFC by IP? If you've opened outgoing traffic to it, it may well be some sort of PoS (well, more of a PoS than we already established it to be) that isn't going to stick to a consistent set of ports... also opening a load of ports to everyone seems overkill.

share|improve this answer
    
Well I guess there is no need to search any further. As you suggested I simply whitelisted all traffic on all ports both TCP and UDP, FROM the ip of the printer/scanner TO the ip of the pc. Thanks! –  George Pligor Nov 18 '12 at 21:36
    
Make sure you've got the mfc on a static IP - that could be a source of annoyance after a power outage otherwise :) –  Tom Newton Nov 18 '12 at 21:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.