Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 13:37:40 -0600
From:      "Douglas A. Maske" <moth21@hotmail.com>
To:        questions@freebsd.org
Subject:   NATD PCANYWHERE!
Message-ID:  <F19Tu5S7DcfM871XTzy0000e158@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I have FreeBSD 4.5 with natd/ipfw, all I want to do is redirect pcanywhere 
traffic.  Internet traffic is routing correctly.

Here is my /etc/natd.conf
interface dc1
use_sockets yes
same_ports yes

redirect_port tcp x.x.x.x:5631 x.x.x.x:5631
redirect_port tcp x.x.x.x:5632 x.x.x.x:5632

And here is my handy script I wrote
#!/bin/sh
natd -f /etc/natd.conf
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via dc1
/sbin/ipfw add pass all from any to any

What gives?  I get Connection Refused...

Thanks,

Douglas A. Maske
Consultant
All Bases Covered, Inc.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F19Tu5S7DcfM871XTzy0000e158>