Advertisement
TringaliLuca

Share scanner over LAN with saned

Feb 22nd, 2017
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. sudo nano /etc/default/saned
  2.  
  3. # Defaults for the saned initscript, from sane-utils
  4.  
  5. # To enable under systemd please read README.Debian
  6. # Set to yes to start saned under SysV
  7. RUN=yes
  8.  
  9. # Set to the user saned should run as
  10. RUN_AS_USER=saned
  11.  
  12. ***************************************************************
  13.  
  14.  
  15.  
  16. sudo nano /etc/sane.d/saned.conf
  17.  
  18. # saned.conf
  19. # Configuration for the saned daemon
  20.  
  21. ## Daemon options
  22. # Port range for the data connection. Choose a range inside [1024 - 65535].
  23. # Avoid specifying too large a range, for performance reasons.
  24. #
  25. # ONLY use this if your saned server is sitting behind a firewall. If your
  26. # firewall is a Linux machine, we strongly recommend using the
  27. # Netfilter nf_conntrack_sane connection tracking module instead.
  28. #
  29. # data_portrange = 10000 - 10100
  30.  
  31.  
  32. ## Access list
  33. # A list of host names, IP addresses or IP subnets (CIDR notation) that
  34. # are permitted to use local SANE devices. IPv6 addresses must be enclosed
  35. # in brackets, and should always be specified in their compressed form.
  36. #
  37. # The hostname matching is not case-sensitive.
  38.  
  39. #scan-client.somedomain.firm
  40. #192.168.0.1
  41. 192.168.1.0/24
  42. #[2001:db8:185e::42:12]
  43. #[2001:db8:185e::42:12]/64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement