Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 15:44:56 -0400
From:      "alexus" <ml@db.nexgen.com>
To:        <Undisclosed-Recipient:;@FreeBSD.ORG>
Subject:   port forwarding through natd and/or ipfw
Message-ID:  <000701c13bc3$66c6f160$0d00a8c0@alexus>

next in thread | raw e-mail | index | archive | help
Hi

My goal is to access my Windows XP workstation that is behind N.A.T. FreeBSD
box's firewall

I've tried two ways and didn't succeed on any of them:( i was hoping some of
you will help me to figure out what went wrong

my public ip address is 66.92.98.145 and internal ip is 192.168.0.13 port
that my XP workstation listens on is 3389r

here is form XP (part from netstat)

  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING

so it *is* listening..

first i've tryed through natd

su-2.05# grep 3389 /etc/natd.conf
redirect_port tcp 192.168.0.13:3389 3389
su-2.05# ps auxww|grep natd
root     69679  0.0  0.1  1096  640  p1  S+    3:37PM   0:00.00 grep natd
root       165  0.0  0.1   592  384  ??  Ss    9:24PM   1:30.78
/sbin/natd -u -f /etc/natd.conf -n fxp0
su-2.05#

that didn't worked:(

then i've tryed through firewall (ipfw)

00333       6        288 fwd 66.92.98.145,3389 tcp from any to 192.168.0.13
3389

this was a little bit more suscess then others due to at least this rule was
matched .. but i didn't get to my XP workstation:(

i *did* enabled firewall in kernel

su-2.05# grep FIREWALL box
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
options         IPFIREWALL_VERBOSE_LIMIT=10    #limit verbosity
options         IPFIREWALL_FORWARD      #enable transparent proxy support
su-2.05#


any help/comments/recommendation would be a very much appreciated

thanks in advance



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?000701c13bc3$66c6f160$0d00a8c0>