From: marcus <marcus@lanhelp.com.br>
To: netfilter@lists.netfilter.org
Subject: Redirecting internal tcp connections
Date: Fri, 15 Apr 2005 14:12:59 -0300 [thread overview]
Message-ID: <425FF61B.9090008@lanhelp.com.br> (raw)
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?
next reply other threads:[~2005-04-15 17:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-15 17:12 marcus [this message]
2005-04-15 17:57 ` Redirecting internal tcp connections Jose Maria Lopez Hernandez
2005-04-15 20:17 ` Taylor, Grant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=425FF61B.9090008@lanhelp.com.br \
--to=marcus@lanhelp.com.br \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.