Linux Netfilter discussions
 help / color / mirror / Atom feed
* DNAT'ing print from XP to Brother 2070N
@ 2008-08-27  1:40 sean darcy
  2008-08-27 16:36 ` Grant Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: sean darcy @ 2008-08-27  1:40 UTC (permalink / raw)
  To: netfilter

We're running XP in one office. I'd like to be able to print to a 
"network ready" Brother 2070N in another office, and in my home.

I can print to the 2070N over a local network using ipp ( 
10.10.11.151:631 ) and lpd ( 10.10.11.151:9100 ).

In the office I have set up iptables like so:

$IPT -t nat -A PREROUTING -d 10.10.11.151 -p tcp --dport 631 -j DNAT 
--to $HOME_ADDRESS:631
$IPT -A FORWARD -p tcp -m state --state NEW -d $HOME_ADDRESS --dport 631 
-j ACCEPT

and set up my home iptables:

$IPT -t nat -A PREROUTING -i $EXTIF -p tcp --dport 631 -j DNAT --to 
10.10.11.151:631
$IPT -A FORWARD -p tcp --dport 631 -m state --state NEW -d 10.10.11.151 
-j ACCEPT

The xp machine is set to use 10.10.11.151:631, raw. I've installed the 
2070N driver on XP.

I've also tried using port 9100.

But it doesn't work. I realize this is a combination, linux - xp , 
printing and dnat issue, but I thought I'd start here. Anybody else 
doing this? Any suggestions of other lists that might be useful?

Thanks for any help.

sean


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-27 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27  1:40 DNAT'ing print from XP to Brother 2070N sean darcy
2008-08-27 16:36 ` Grant Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox