RE: how 2 addressport map outbound traffic to multiple/different IPs on a single intfc?

2007-06-12 Thread Greg Hennessy
so, i think i'm in the right ballpark with *nat of some sort, but how do i get this done correctly? There's a number of ways to do this. Add the extra addresses as aliases to the internet facing interface. E.g gw2:~ # cat /etc/rc.early /etc/rc.conf | egrep -i 'outside|alias' | sed -e .

Re: how 2 addressport map outbound traffic to multiple/different IPs on a single intfc?

2007-06-12 Thread snowcrash
hi greg, There's a number of ways to do this. Add the extra addresses as aliases to the internet facing interface. E.g gw2:~ # cat /etc/rc.early /etc/rc.conf | egrep -i 'outside|alias' | sed -e . /sbin/ifconfig rue0 name outside network_interfaces=lo0 outside inside ifconfig_outside=inet

Re: how 2 addressport map outbound traffic to multiple/different IPs on a single intfc?

2007-06-12 Thread Vasily Ivanov
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

how 2 addressport map outbound traffic to multiple/different IPs on a single intfc?

2007-06-11 Thread snowcrash+freebsd
hi, i'm trying to do 1:1 (nat?) *outbound* address mapping using pf, but NOT 'whole server' binat, but rather a single addressport. i'm close, but no cigar ... any suggestions? details follow ... thanks! i've a block of 8 static IPs, x.x.x.1 - x.x.x.8. freebsd6.2-Rp5+pf are installed as my