From owner-freebsd-security Mon Mar 27 21:46:51 2000 Delivered-To: freebsd-security@freebsd.org Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by hub.freebsd.org (Postfix) with SMTP id 1760B37B5F1 for ; Mon, 27 Mar 2000 21:46:46 -0800 (PST) (envelope-from vikashb@my-deja.com) Received: from Unknown/Local ([?.?.?.?]) by my-deja.com; Mon Mar 27 21:45:43 2000 To: freebsd-security@FreeBSD.ORG Date: Mon, 27 Mar 2000 21:45:43 -0800 From: " " Message-ID: Mime-Version: 1.0 X-Sent-Mail: off X-Mailer: MailCity Service Subject: natd question X-Sender-Ip: 196.34.250.5 Organization: My Deja Email (http://www.my-deja.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 1473 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings Could some one please assist me with a natd configuration ? I have a FreeBSD 3.2 box with 2 nics. The one nic has an ip address of 192.168.29.21 and an alias address of 192.168.29.20 ( netmask 255.255.255.0 ), the other nic has an ip address of 192.168.1.22 ( netmask 255.255.255.0 ). I need to divert all ip traffic destined for 192.168.29.21 to 192.168.1.21 and all ip traffic destined for 192.168.29.20 to 192.168.1.20 since these are the only two servers that need to be accessed the users in the 192.168.29 subnet. I have tried the following rules and I have had no success : =============== natd.conf ======================= redirect_address 192.168.1.21 192.168.29.21 redirect_address 192.168.1.20 192.168.29.21 ============================================== I can get the natd to work only on this rule "redirect_address 192.186.1.21 0.0.0.0", but this results in the other machine being inaccessible. I have tried this rule set : ============================================== redirect_port tcp 192.168.1.20:telnet 192.168.29.20:telnet redirect_port tcp 192.168.1.21:telnet 192.168.29.21:telnet ============================================== but this only results in the one machine (192.168.29.20) been accessible Can this be done with natd. Is that any other software / configuration I should look at ? Thanks Vikash --== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message