Hello.

On 12 June 2007 09:20, snowcrash+freebsd wrote:
[- snip -]

> (2) from the POOLS discussion, 'simple' outbound NAT:
>
>       nat on $ext_if from z.z.z.102 port 25 to any -> ($ext_if)
>       nat on $ext_if from z.z.z.102 port 25 to any -> ($ext_if)
>
> doesn't do it either - i dno't think -- as $ext_if picks up the
> "primary IP" assigned via the pppoe startup, x.x.x.1.

You can specify required IP explicitly, like 

        nat on $ext_if from z.z.z.102 port 25 to any -> x.x.x.2

You don't even need aliases on interface (at least it works for my ethernet 
connection, dunno about pppoe). Just make sure your upstream routes traffic 
to your x.x.x.x/29 into your box.

>
> so, i think i'm in the right ballpark with *nat of some sort, but how
> do i get this done correctly?
>
> cheers!
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
wbr, 
Vasily
http://www.academ.org
mailto: <[EMAIL PROTECTED]>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to