UFW and saned... not working togheter...
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am using ufw version 0.35 on kubuntu 16.04.
My scanner, is an Epson network scanner with printer
when I run this command with ufw disabled, I get :
>scanimage -L
>
>device `epkowa:
When I active ufw I get :
>scanimage -L
>
>No scanners were identified. If you were expecting something different,
>check that the scanner is plugged in, turned on and detected by the
>sane-find-scanner tool (if appropriate). Please read the documentation
>which came with this software (README, FAQ, manpages).
I have done some search on google, and I tryed to put this rules on ufw :
2233 ALLOW Anywhere
6566/tcp ALLOW Anywhere
Anywhere ALLOW 192.168.0.8
6566/udp ALLOW Anywhere
6566 ALLOW 192.168.0.8
Anywhere ALLOW 192.168.0.0/24
6566 ALLOW Anywhere
6566 ALLOW 192.168.0.0/24
2233 (v6) ALLOW Anywhere (v6)
6566/tcp (v6) ALLOW Anywhere (v6)
6566/udp (v6) ALLOW Anywhere (v6)
6566 (v6) ALLOW Anywhere (v6)
the saned port is correct.
I can ping 192.168.0.8 (fixed ip address of scanner/printer)
I can see on the web broswer the web page at that ip address
I also tryed to edit ufw config file /etc/default/ufw adding this line :
IPT_MODULES=
and commented the previous one
#IPT_MODULES=
Rebooted... and still not running
I don't have any idea how to solve it...
someone can help me?
sorry for bad english
please,
thanks
Hi I also tryed :
edit saned.conf
data_portrange = 40000 - 40100
and added more ufw rules :
- ------ --
6566/tcp ALLOW 192.168.0.0/24
40000:40100/tcp ALLOW 192.168.0.0/24
6566/tcp ALLOW Anywhere
Anywhere ALLOW 192.168.0.8
6566 ALLOW Anywhere
6566/udp ALLOW Anywhere
6566 ALLOW 192.168.0.0/24
6566/udp ALLOW 192.168.0.0/24
40000:40100/udp ALLOW 192.168.0.0/24
40000:40100/udp ALLOW 192.168.0.8
6566/udp ALLOW 192.168.0.8
6566/tcp ALLOW 192.168.0.8
40000:40100/tcp ALLOW 192.168.0.8
Anywhere ALLOW 192.168.0.255
Anywhere ALLOW 192.168.0.255/udp
Anywhere ALLOW 192.168.0.255/tcp
6566/tcp (v6) ALLOW Anywhere (v6)
6566 (v6) ALLOW Anywhere (v6)
6566/udp (v6) ALLOW Anywhere (v6)
but nothing...
i have to disable ufw and reboot to see it working (see network printer/scanner)