From: cc <cc@kdtc.net>
To: netfilter@lists.netfilter.org
Subject: PCAnywhere and netfilter
Date: Fri, 27 Jun 2003 17:22:04 +0800 [thread overview]
Message-ID: <3EFC0CBC.4000207@kdtc.net> (raw)
Hi,
I am having some troubles figuring out how to get a remote
PCAnywhere station log onto a local pcanywhere station.
Here's my config:
Firewall : (eth0 : external IP) - a.b.c.d
(eth1 : internal IP - 192.168.5.17)
Int IP (one with PCAnywhere) : 192.168.5.31
Here's my attempt at a netfilter script for this:
iptables -A INPUT -i eth0 -d 192.168.5.31 -p tcp --dport "5631:5632" -j
ACCEPT
iptables -A INPUT -i eth0 -d 192.168.5.31 -p udp --dport "5631:5632" -j
ACCEPT
iptables -t nat -A PREROUTING -i eth0 -d a.b.c.d -p tcp --dport
"5631:5632" -j DNAT --to 192.168.5.31
iptables -t nat -A PREROUTING -i eth0 -d a.b.c.d -p udp --dport
"5631:5632" -j DNAT --to 192.168.5.31
I actually got this off the net and am still trying to disect it.
Am I supposed to have Output, or just forward chains since in essence
I'm just forwarding the PCA packets to a different station?
I'm still barely understanding Netfilters. For the other services
(smtp, www, etc...) they are working. I don't understand why I'm
having so much trouble with PCAnywhere.
Thanks
Edmund
next reply other threads:[~2003-06-27 9:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-27 9:22 cc [this message]
2003-06-27 9:46 ` PCAnywhere and netfilter Chris Wilson
[not found] <3F00135A.5070707@belfordhk.com>
2003-06-30 12:27 ` Chris Wilson
2003-07-02 4:21 ` cc
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=3EFC0CBC.4000207@kdtc.net \
--to=cc@kdtc.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox