On 5/25/07, Jacob Yocom-Piatt <[EMAIL PROTECTED]> wrote:
Bambero wrote:
> Hello
>
> I have a problem to setup two interfaces to be accessible from internet.
>
> I found some informations, and now I know that I shouldn't set default
> gateway, but I should setup routing rules using pf.
>
> I don't need load balance, or nat. I just need two accessible from
> internet interfaces.
>
> When the request goes to first interface it should back via first
> interface.
> When the request goes to second interface it should back via second
> interface.
>

check out the reply-to keyword in the pf.conf manpage.

cheers,
jake

> Please forgive me my broken english.
>
> Thanks for any help.
> Bambero



Hmm ... I'm trying but it won't works for me.

ifconfig re0 xx.xx.xx.xx netmask xn.xn.xn.xn
ifconfig re1 yy.yy.yy.yy netmask yn.yn.yn.yn

route delete defult    # for sure

/etc/pf.conf:
set skip on lo
scrub in

block in quick inet6 all

pass in quick on re0 reply-to ( re0 xg.xg.xg.xg )
pass in quick on re1 reply-to ( re1 yg.yg.yg.yg )

... and still nothing

What may be wrong ?

Reply via email to