From owner-freebsd-hackers Mon Dec 8 08:44:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19712 for hackers-outgoing; Mon, 8 Dec 1997 08:44:16 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA19705 for ; Mon, 8 Dec 1997 08:44:08 -0800 (PST) (envelope-from teima@kk.etx.ericsson.se) Received: from kkb3 (kkb3.kk.etx.ericsson.se [130.100.97.23]) by penguin.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-1.12) with SMTP id RAA16625 for ; Mon, 8 Dec 1997 17:43:59 +0100 (MET) Received: from kk660.kk.etx.ericsson.se by kkb3 (SMI-8.6/LME-2.2.6) id RAA05855; Mon, 8 Dec 1997 17:43:54 +0100 From: teima@kk.etx.ericsson.se (Valter Mazzaro) Received: by kk660.kk.etx.ericsson.se (SMI-8.6/client-1.6) id RAA05250; Mon, 8 Dec 1997 17:43:55 +0100 Date: Mon, 8 Dec 1997 17:43:55 +0100 Message-Id: <199712081643.RAA05250@kk660.kk.etx.ericsson.se> To: hackers@FreeBSD.ORG Subject: natd settings problem X-Sun-Charset: US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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