Linux Netfilter discussions
 help / color / mirror / Atom feed
* PCAnywhere and netfilter
@ 2003-06-27  9:22 cc
  2003-06-27  9:46 ` Chris Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: cc @ 2003-06-27  9:22 UTC (permalink / raw)
  To: netfilter

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




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

end of thread, other threads:[~2003-07-02  4:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3F00135A.5070707@belfordhk.com>
2003-06-30 12:27 ` PCAnywhere and netfilter Chris Wilson
2003-07-02  4:21   ` cc
2003-06-27  9:22 cc
2003-06-27  9:46 ` Chris Wilson

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