Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 12:58:26 -0500
From:      dc <admin@cyrebels.org>
To:        questions@freebsd.org
Subject:   Redirecting/mapping ports to a local machine... help!
Message-ID:  <38AED9C2.13F933BF@cyrebels.org>

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

--------------2286317F8D1D11DA09BB7656
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

i've got 2 computers, 1 on freebsd, the other on windows. They are
sharing the net using natd. But i got a ftp server on port 42 of my
windows box, and i want to make it available from the outside... i tried
to do it with "redirect_port", here goes my natd.conf file:


### Configuration file for Natd

alias_address    24.226.185.143
redirect_port    tcp    192.168.0.2:42    42
redirect_port    udp    192.168.0.2:42    42

### End


then i launched "natd -conf /etc/natd.conf", both computers were sharing
the net as before, though i couldn't access the ftp server from the
outside.

I can connect to the ftp server from the bsd box using the local ip
(19.168.0.2)....


Help!!
Thanks


<<<<>>>>
<< dc >>
<<<<>>>>

--------------2286317F8D1D11DA09BB7656
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>i've got 2 computers, 1 on freebsd, the other on windows. They are sharing
the net using natd. But i got a ftp server on port 42 of my windows box,
and i want to make it available from the outside... i tried to do it with
"redirect_port", here goes my natd.conf file:
<br>&nbsp;
<p><tt>### Configuration file for Natd</tt><tt></tt>
<p><tt>alias_address&nbsp;&nbsp;&nbsp; 24.226.185.143</tt>
<br><tt>redirect_port&nbsp;&nbsp;&nbsp; tcp&nbsp;&nbsp;&nbsp; 192.168.0.2:42&nbsp;&nbsp;&nbsp;
42</tt>
<br><tt>redirect_port&nbsp;&nbsp;&nbsp; udp&nbsp;&nbsp;&nbsp; 192.168.0.2:42&nbsp;&nbsp;&nbsp;
42</tt><tt></tt>
<p><tt>### End</tt>
<br>&nbsp;
<p>then i launched <tt>"natd -conf /etc/natd.conf"</tt>, both computers
were sharing the net as before, though i couldn't access the ftp server
from the outside.
<p>I can connect to the ftp server from the bsd box using the local ip
(19.168.0.2)....
<br>&nbsp;
<p>Help!!
<br>Thanks
<br>&nbsp;
<p><tt>&lt;&lt;&lt;&lt;>>>></tt>
<br><tt>&lt;&lt; dc >></tt>
<br><tt>&lt;&lt;&lt;&lt;>>>></tt></html>

--------------2286317F8D1D11DA09BB7656--



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?38AED9C2.13F933BF>