Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 21:45:43 -0800
From:      "   " <vikashb@my-Deja.com>
To:        freebsd-security@FreeBSD.ORG
Subject:   natd question
Message-ID:  <BMIPHGKBKLCBKCAA@my-deja.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BMIPHGKBKLCBKCAA>