Re: how 2 address&port 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

Re: how 2 address&port 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="ine

RE: how 2 address&port 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 ...