Date: Mon, 8 Dec 1997 17:43:55 +0100 From: teima@kk.etx.ericsson.se (Valter Mazzaro) To: hackers@FreeBSD.ORG Subject: natd settings problem Message-ID: <199712081643.RAA05250@kk660.kk.etx.ericsson.se>
next in thread | raw e-mail | index | archive | help
Hi,
I've some problems with the following configuration:
_________
HOST1-----------------|de1 de3|-------------------ISP1
| | |
| | AS |
| | |
HOST2---- |_________|
HOST1 address: 192.168.104.10
HOST2 address: 192.168.104.11
de1 address: 192.168.104.1
de3 address: 193.10.15.156
ISP address: 193.10.15.157
My purpose is to run a video conference application (vic) between HOST1/2 and
ISP.
In AS a natd daemon is running. The problem is that, with the present settings,
I've succeeded in running vic just between ISP and ONE host AT THE TIME!!
The daemon is started with: natd -m -f natd.conf
where natd.conf:
use_sockets
port 6668
interface de3
permanent_link udp 192.168.104.10:4444 193.10.15.157:0 4444
permanent_link udp 192.168.104.10:4445 193.10.15.157:0 4445
Vic uses 4444 and 4445 as known ports to establish the connession and to
exchange data. With this conf file I don't have any problem in let HOST1
and ISP interact.
If I try to connect also HOST2, adding in the natd.conf:
permanent_link udp 192.168.104.11:4444 193.10.15.157:0 4444
permanent_link udp 192.168.104.11:4445 193.10.15.157:0 4445
of course natd doesn't discriminate the packets because the only difference
in the packets entering AS on de3 is the source port, that is not known
a priori, so I'm forced to left the wildcards "0" in natd.conf.
How can I solve it?
Should I run two different natd daemons, diverting packets to different
ports?
I'm quite new with these problems, it would be great if someone could give
me an hint!
Thanks
Valter
-------------
Valter Mazzaro
Ericsson Switchlab
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712081643.RAA05250>
