DNAT in freebsd
Eugene Grosbein
eugen at grosbein.net
Sun Jun 30 15:33:19 UTC 2013
On 30.06.2013 18:48, Sami Halabi wrote:
> Hi,
> I don't understand how reverse mode works exactly, and didn't find a good example.
>
>
> can you try and help on the configuration?
Well, that's pretty simple. Generally, NAT translates source IP address of the packet
keeping destination IP intact. You need both of source and
destination addresses get translated. Reverse NAT translates does,
well, reverse thing: it translates destination IP keeping source IP intact.
So, you just need setup two ipfw nat instances, one "general" and one "reverse"
and pass your packets through both instances.
Eugene Grosbein
More information about the freebsd-net
mailing list