I was just making it identical to the Mint computer but it still didn't
make it print. I'm looking through iptanles man-page amd wsd thinkimg that
perhaps I should put in a 'persistent' rule or a '--to-destination rule?
OKAY.... disable iptables.... how is that done? I can't find it in the
manpage nor does anything I try work (iptables disable.....).
how do I delete the ufw rules that were inserted into theptable when I was
playing with it? Well I know you iptable -D <rule number> but it isn't
working.
bmike1@Michaels-PC:~$ sudo iptables -D output 24 25 26 27 28 29
Bad argument `25'
Try `iptables -h' or 'iptables --help' for more information.
bmike1@Michaels-PC:~$
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 AS0_OUT_LOCAL all -- anywhere anywhere
2 ACCEPT all -- anywhere anywhere
3 DROP all -- base/8 anywhere
4 DROP all -- anywhere base/8
5 DROP all -- 255.255.255.255 anywhere
6 DROP all -- anywhere 0.0.0.0
7 DROP all -- anywhere anywhere state
INVALID
8 ACCEPT tcp -- 192.168.0.3 qwestmodem.domain.actdsltmp
tcp dpt:domain
9 ACCEPT udp -- 192.168.0.3 qwestmodem.domain.actdsltmp
udp dpt:domain
10 ACCEPT tcp -- 192.168.0.3 resolver.qwest.net tcp
dpt:domain
11 ACCEPT udp -- 192.168.0.3 resolver.qwest.net udp
dpt:domain
12 ACCEPT all -- anywhere anywhere
13 DROP all -- base/8 anywhere
14 DROP all -- anywhere base/8
15 DROP all -- 255.255.255.255 anywhere
16 DROP all -- anywhere 0.0.0.0
17 DROP all -- anywhere anywhere state
INVALID
18 OUTBOUND all -- anywhere anywhere
19 OUTBOUND all -- anywhere anywhere
20 LOG_FILTER all -- anywhere anywhere
21 LOG all -- anywhere anywhere LOG level
info prefix `Unknown Output'
22 LOG_FILTER all -- anywhere anywhere
23 LOG all -- anywhere anywhere LOG level
info prefix `Unknown Output'
24 ufw-before-logging-output all -- anywhere
anywhere
25 ufw-before-output all -- anywhere anywhere
26 ufw-after-output all -- anywhere anywhere
27 ufw-after-logging-output all -- anywhere
anywhere
28 ufw-reject-output all -- anywhere anywhere
29 ufw-track-output all -- anywhere anywhere
I need to go to bed now.
Goodnight!
On Fri, Mar 16, 2012 at 11:00 PM, James Mcphee <
jmcphe@gmail.com> wrote:
> if you're opening that much, just disable iptables until you figure out
> what you need to leave open.
> On Mar 16, 2012 6:06 PM, "Michael Havens" <bmike1@gmail.com> wrote:
>
>> hmmmmmm..... opening the ports didn't help any. I opened:
>>
>> bmike1@Michaels-PC:~$ sudo ufw status
>> Status: active
>>
>> To Action From
>> -- ------ ----
>> 22 ALLOW Anywhere
>> 137 ALLOW Anywhere
>> 138 ALLOW Anywhere
>> 139 ALLOW Anywhere
>> 445 ALLOW Anywhere
>> 389 ALLOW Anywhere
>> 901 ALLOW Anywhere
>> 53 ALLOW Anywhere
>> 80 ALLOW Anywhere
>> 110 ALLOW Anywhere
>> 143 ALLOW Anywhere
>> 443 ALLOW Anywhere
>> 631 ALLOW Anywhere
>> 993 ALLOW Anywhere
>> 995 ALLOW Anywhere
>> 5800 ALLOW Anywhere
>> 5900 ALLOW Anywhere
>> 9418 ALLOW Anywhere
>> 8080 ALLOW Anywhere
>> 22 ALLOW Anywhere (v6)
>> 137 ALLOW Anywhere (v6)
>> 138 ALLOW Anywhere (v6)
>> 139 ALLOW Anywhere (v6)
>> 445 ALLOW Anywhere (v6)
>> 389 ALLOW Anywhere (v6)
>> 901 ALLOW Anywhere (v6)
>> 53 ALLOW Anywhere (v6)
>> 80 ALLOW Anywhere (v6)
>> 110 ALLOW Anywhere (v6)
>> 143 ALLOW Anywhere (v6)
>> 443 ALLOW Anywhere (v6)
>> 631 ALLOW Anywhere (v6)
>> 993 ALLOW Anywhere (v6)
>> 995 ALLOW Anywhere (v6)
>> 5800 ALLOW Anywhere (v6)
>> 5900 ALLOW Anywhere (v6)
>> 9418 ALLOW Anywhere (v6)
>> 8080 ALLOW Anywhere (v6)
>>
>> bmike1@Michaels-PC:~$
>>
>>
>> What else do you think I should open?
>>
>>
>> On Fri, Mar 16, 2012 at 10:44 AM, Michael Havens <bmike1@gmail.com>wrote:
>>
>>> look what I found in my quest to open ports for printing: I found a
>>> program called ufw which is a 'program for managing a netfilter
>>> firewall.' And one of the commands is:
>>>
>>> ufw allow 53
>>> This rule will allow tcp and udp port 53 to any address on this
>>> host.
>>>
>>> Which is the printers port?... of course 631. my search engine is givong
>>> me another: 515? But both of my computers print.
>>> Do you know if I can specify more than one port in the command? oops...
>>> I just found the correct syntax:
>>> ufw allow 18:25,50:110,130:150,389:445,
>>> 631,900:1000,5800:5900,8080,9418
>>> the man page says I'm allowed 15 numbers in there. No spaces, separated
>>> by a coma, and ranges (x:y ) count as two numbers.
>>>
>>> What other ports does the great brain known as PLUG believe is good to
>>> open?
>>> I think ufw is basically a program to make iptables easier. Or do you
>>> want to give me a tutelage on iptables. I'm willing if you are! Does anyone
>>> have any pointers about ufw?
>>>
>>> ufw probably is an acronym for unix fire wall. or perhaps ubuntu fire
>>> wall.
>>>
>>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss