Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 19:57:09 +0200
From:      "Vikash Badal" <vikashb@mweb.co.za>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Source nat question (ipfw and natd)
Message-ID:  <000b01c2c49b$47aeacc0$4b0a0a0a@my.domain>

next in thread | raw e-mail | index | archive | help
Greetings,

I currently have a box (4.7p3) that i want to connect to four different networks
According to the man page i can only nat on one interface using natd.

My current natd.conf is as follows :
--------------------------------------------------------------------------
redirect_address 10.136.236.18 192.168.28.61
redirect_address 10.136.236.20 192.168.20.47
redirect_address 10.136.236.19 192.167.11.47
--------------------------------------------------------------------------

When i add the following maping :
redirect_address 10.136.236.18 192.168.15.47

the source address for connections to 192.168.15.0/24 is 192.168.25.61
is there any way i can setup natd and ipfw so that if packets are
destined for 192.168.15.0/24 then the source address should be 192.168.15.47

Please Advise
Vikash


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c2c49b$47aeacc0$4b0a0a0a>