Networking Forums

Networking Forums > Computer Networking > Linux Networking > Unable to print to IPP printer through linux firewall

Reply
Thread Tools Display Modes

Unable to print to IPP printer through linux firewall

 
 
Joseph Wardzinski
Guest
Posts: n/a

 
      02-23-2005, 04:27 AM
Have been unable to print or ping printer through firewall from web.
Have tried enabling port forwarding to printer fixed ip to port 631 with
no success. Only by setting dmz to printer ip, does the printer work
over Internet. Iptables -L the following line is found.

ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:631

Any tips or tricks at command line to fix problem?
 
Reply With Quote
 
 
 
 
Joseph Wardzinski
Guest
Posts: n/a

 
      02-23-2005, 05:20 AM
Joseph Wardzinski wrote:
> Have been unable to print or ping printer through firewall from web.
> Have tried enabling port forwarding to printer fixed ip to port 631 with
> no success. Only by setting dmz to printer ip, does the printer work
> over Internet. Iptables -L the following line is found.
>
> ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:631
>
> Any tips or tricks at command line to fix problem?

Forgot a line to post:
ACCEPT udp -- anywhere 192.168.1.2 udp dpt:631
Still doesn't work.
 
Reply With Quote
 
Jose Maria Lopez Hernandez
Guest
Posts: n/a

 
      02-23-2005, 09:05 AM
Joseph Wardzinski wrote:
> Joseph Wardzinski wrote:
>
>> Have been unable to print or ping printer through firewall from web.
>> Have tried enabling port forwarding to printer fixed ip to port 631
>> with no success. Only by setting dmz to printer ip, does the printer
>> work over Internet. Iptables -L the following line is found.
>>
>> ACCEPT tcp -- anywhere 192.168.1.2 tcp dpt:631
>>
>> Any tips or tricks at command line to fix problem?

>
> Forgot a line to post:
> ACCEPT udp -- anywhere 192.168.1.2 udp dpt:631
> Still doesn't work.


Maybe it's a problem of the cupsd daemon just listening to the
LAN or localhost IPs. Check it's configuration.

Regards.

--

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
 
Reply With Quote
 
Hue-Bond
Guest
Posts: n/a

 
      02-26-2005, 02:25 PM
Jose Maria Lopez Hernandez, mié20050223@11:05:53(CET):
>


:^P.


> Maybe it's a problem of the cupsd daemon just listening to the
> LAN or localhost IPs. Check it's configuration.


I don't think so. The default config behaves like this:

# netstat -putan|awk '/cupsd/ {print $1,$4}'
tcp 0.0.0.0:631
udp 0.0.0.0:631


--
David Serrano
 
Reply With Quote
 
Jose Maria Lopez Hernandez
Guest
Posts: n/a

 
      02-26-2005, 06:43 PM
Hue-Bond wrote:
> Jose Maria Lopez Hernandez, mié20050223@11:05:53(CET):
>
> :^P.


Hi!

> I don't think so. The default config behaves like this:
>
> # netstat -putan|awk '/cupsd/ {print $1,$4}'
> tcp 0.0.0.0:631
> udp 0.0.0.0:631


Sorry, but not in my Fedora Core 3, without touching anything
in the cups configuration, only the printer setup:

[root@nostromo correo]# netstat -putan|awk '/cupsd/ {print $1,$4}'
tcp 127.0.0.1:631
udp 0.0.0.0:631

Kind regards.

--

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
 
Reply With Quote
 
Hue-Bond
Guest
Posts: n/a

 
      02-27-2005, 09:38 AM
Jose Maria Lopez Hernandez, sáb20050226@20:43:21(CET):
>
> Sorry, but not in my Fedora Core 3, without touching anything
> in the cups configuration, only the printer setup:
>
> [root@nostromo correo]# netstat -putan|awk '/cupsd/ {print $1,$4}'
> tcp 127.0.0.1:631
> udp 0.0.0.0:631


Hmm, interesting. Just for google archives, mine is a debian sid.


--
David Serrano
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain users unable to print to parralel printer Garry Windows Networking 6 11-13-2007 11:05 PM
Unable to print using a home network printer....HELP? Durbanator Wireless Networks 9 12-14-2005 07:21 PM
unable to print to shared printer bill Windows Networking 6 04-28-2005 03:12 PM
MN500 unable to print to network printer Tim Broadband Hardware 0 08-23-2004 08:51 AM
Unable to print XP to 98 shared printer? Tx2 Windows Networking 4 12-11-2003 10:09 PM



1 2 3 4 5 6 7 8 9 10 11