All of lore.kernel.org
 help / color / mirror / Atom feed
* Redirecting internal tcp connections
@ 2005-04-15 17:12 marcus
  2005-04-15 17:57 ` Jose Maria Lopez Hernandez
  0 siblings, 1 reply; 3+ messages in thread
From: marcus @ 2005-04-15 17:12 UTC (permalink / raw)
  To: netfilter

Hi, I have a lpd server on a remote host that ISP blocks port 515. I try 
to use something like "lpr -Plp@remotehost.com:900" but lprng doenst 
seems to recognize the port argument. So, I think to use iptables to 
redirect TCP requests on port 515 to port 900 but I dont know how. I've 
tried the following:

#iptables -A OUTPUT -p tcp --dport 515 -j REDIRECT --to-port 900

This gives me a "iptables: Invalid argument"

Any ideas?





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

end of thread, other threads:[~2005-04-15 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-15 17:12 Redirecting internal tcp connections marcus
2005-04-15 17:57 ` Jose Maria Lopez Hernandez
2005-04-15 20:17   ` Taylor, Grant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.