Gentoo Archives: gentoo-user

From: Pupeno <pupeno@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Firewalling and Sambra printer.
Date: Sun, 22 Oct 2006 17:38:42
Message-Id: 200610221728.49846.pupeno@pupeno.com
1 Hello,
2 I have two computers (that are involved in this problem), phoenix is my Gentoo
3 workstation and desktop-1 is someone else's Windows box. Someone else happens
4 to have a printer and I don't, so, from time to time I use his printer. The
5 printer is shared, obviously, thru SMB (it's a windows box). I configured
6 CUPS to connect to it (I just used the KDE Kcontrol to configure it).
7 My problem is that when I bring up my firewall (a firewall using iptables on
8 phoenix, just protecting phoenix) printing stops working. In fact, all access
9 to desxtop-1 thru smb stops working.
10 The firewall is very simple, a simple stateful all-incomming-closed firewall:
11
12 # iptables -vL
13 Chain INPUT (policy DROP 35510 packets, 16M bytes)
14 pkts bytes target prot opt in out source
15 destination
16 329K 558M ACCEPT all -- lo any anywhere anywhere
17 36M 54G ACCEPT all -- any any anywhere anywhere
18 state RELATED,ESTABLISHED
19 3 228 ACCEPT icmp -- any any anywhere anywhere
20 icmp echo-request limit: avg 30/min burst 5
21 120 7057 ACCEPT icmp -- any any anywhere anywhere
22 1 60 ACCEPT tcp -- any any anywhere anywhere
23 tcp dpt:ssh
24
25 Chain FORWARD (policy DROP 0 packets, 0 bytes)
26 pkts bytes target prot opt in out source
27 destination
28
29 Chain OUTPUT (policy ACCEPT 21M packets, 3426M bytes)
30 pkts bytes target prot opt in out source
31 destination
32 phoenix ~ #
33
34 Do you know why after bringing up this firewall I can't use the printer
35 anymore and/or how to solve it ?
36
37 Thank you.
38 --
39 Pupeno <pupeno@××××××.com> (http://pupeno.com)

Replies

Subject Author
Re: [gentoo-user] Firewalling and Sambra printer. Dale <dalek@××××××××××.net>