From owner-freebsd-questions Tue Aug 29 14:49:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns.concyt.gob.gt (concyt.gob.gt [168.234.106.2]) by hub.freebsd.org (Postfix) with ESMTP id 9534C37B42C for ; Tue, 29 Aug 2000 14:49:21 -0700 (PDT) Received: from localhost (victor@localhost) by ns.concyt.gob.gt (8.9.1/8.8.7) with ESMTP id PAA09289 for ; Tue, 29 Aug 2000 15:49:15 -0600 (CST) Date: Tue, 29 Aug 2000 15:49:15 -0600 (CST) From: "Victor M. Carranza G." To: questions@freebsd.org Subject: ipnat + two-way services ??? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I am trying to configure a 4.0-RELEASE box to be a gateway for a private network. My ISP gave me only 2 IP addresses, one is for the router's ethernet port and the other is for the gateway machine. I have only one network card in the FreeBSD box, and I have assigned both private and public IP addresses to it. I've put socks and squid, as well as ipnat maps. Web surfing, ftp, telnet, etc. seems to work well, but I have trouble with two-way services like dialpad.com, Yahoo! Instant Messenger (Java applet version) and some other services which use a java applet to communicate with the outside world. My current ipnat.conf looks like: rdr xl0 xx.xx.xx.xx/32 port 51200 -> 192.168.0.3 port 51200 udp rdr xl0 xx.xx.xx.xx/32 port 51201 -> 192.168.0.3 port 51201 udp rdr xl0 xx.xx.xx.xx/32 port 51210 -> 192.168.0.3 port 51210 rdr xl0 xx.xx.xx.xx/32 port 7175 -> 192.168.0.3 port 7175 map xl0 192.168.0.0/24 -> xx.xx.xx.xx/32 portmap tcp/udp 1025:65000 map xl0 192.168.0.2/24 -> xx.xx.xx.xx/32 bimap xl0 192.168.0.1/32 -> 192.168.0.1/32 (the rdr stuff is for dialpad.com, but does not work at all. The xx.xx.xx.xx is the public IP address). Any help would be greatly appreciated. Best regards, Victor Carranza To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message