3 NICs NAT setup, almost there ...

Paiva, Gilson de g-paiva at el.com.br
Fri May 23 08:45:46 PDT 2003


Take this scenario:

        xxx/26               yyy/26
internet --- ep0 freebsd rl0 --- wired clients
                    | private ip ( )

I have to nat packets with destination to an ip xxx/26 to an ip at private
ip net. So far so good with "common" redirect_address nat configuration.
The problem happens with traffic between net yyy/26 and the private
network ( and vice-versa ) because packets get routed to destination
before they get translated by natd.
What´s the secret ? I tried everything I known and learned from reading
but no setup could work out.

Any comments,

 Paiva, Gilson de        Domingos Martins
 mailto:npd at el.com.br    Brazil
 http://www.el.com.br/   E&L Producoes de Software
 http://www.FreeBSD.org/ FreeBSD: The Power to Serve

Aviso Legal:
Esta mensagem pode nao expressar oficialmente as ideias ou vontades da empresa
E&L Producoes de Software, sendo responsavel por esta exclusivamente seu autor.

More information about the freebsd-questions mailing list