Re: destination-port-based routing for multiple links

2007-01-29 Thread J.C. Roberts
On Sunday 28 January 2007 18:26, Soner Tari wrote: On Sun, 2007-01-28 at 16:39 -0800, J.C. Roberts wrote: On Sunday 28 January 2007 03:03, Soner Tari wrote: I'm running Postfix on OpenBSD and have multiple external links on the same box. I want outgoing smtp connections to be routed to

Re: destination-port-based routing for multiple links

2007-01-29 Thread Soner Tari
Thanks a lot for all the replies, public and private (especially Berk for detailed explanations). It turns out that my nat rule was not complete/correct (just as all of the replies had implied this possibility). So, for the record, the rules I'm using right now are as follows, and work perfectly:

destination-port-based routing for multiple links

2007-01-28 Thread Soner Tari
behind the firewall, but smtp connections originate from the box itself. I use reply-to successfully too. In short, I need something like destination-port-based routing for multiple links. The situation is not specific to smtp port or Postfix, I'd like to achieve the same for any port I wish. What

Re: destination-port-based routing for multiple links

2007-01-28 Thread Soner Tari
for connections originating behind the firewall, but smtp connections originate from the box itself. I use reply-to successfully too. In short, I need something like destination-port-based routing for multiple links. The situation is not specific to smtp port or Postfix, I'd like to achieve the same

Re: destination-port-based routing for multiple links

2007-01-28 Thread J.C. Roberts
On Sunday 28 January 2007 03:03, Soner Tari wrote: I'm running Postfix on OpenBSD and have multiple external links on the same box. I want outgoing smtp connections to be routed to ext_if2, but the rest to ext_if1. why? Without knowing the *problem* you are trying to solve, it looks like

Re: destination-port-based routing for multiple links

2007-01-28 Thread Soner Tari
On Sun, 2007-01-28 at 16:39 -0800, J.C. Roberts wrote: On Sunday 28 January 2007 03:03, Soner Tari wrote: I'm running Postfix on OpenBSD and have multiple external links on the same box. I want outgoing smtp connections to be routed to ext_if2, but the rest to ext_if1. why? Because the

Re: destination-port-based routing for multiple links

2007-01-28 Thread Stuart Henderson
, not the src/dest addresses. In short, I need something like destination-port-based routing for multiple links. The situation is not specific to smtp port or Postfix, I'd like to achieve the same for any port I wish. works perfectly.