Samsung multi-functional device SXC 3205w works perfectly with my Ubuntu 12.04 and I can scan and print over network, but only when firewall is disabled.
How can I find out which port to enable in UFW to make this printer work and have my firewall enabled?
You can use fallowing command to trace communication between
pc
andprinter
You will see output of network communication, protocol, port ...
After that you can set
ufw
Another way is to use command
With this command you will see active connection between
pc
andprinter
.Also you can allow all trafic for
printer
ip address