Hello,

1. What I can see from your rules is you are trying to use policy
   routing. Source routing is a different thing.

2. You can not mix policy routing (to <int>[:<ip>] clause) and keep
   state technique in you rules, AFAIK.

-- 
Best regards,
Andrei

Monday, January 27, 2003, 12:05:25 AM, Remco Post wrote:
> Hi,

> I wanted to do some source routing and came up with the two following to
> rules:


> pass  out     quick on ip.tun2 to hme0:62.194.6.1 proto tcp from 145.100.55.8/29 to 
>any port = 80 keep state keep frags group 11
> pass  out     quick on ip.tun2 to hme0:62.194.6.1 proto tcp from 145.100.55.8/29 to 
>any port = 21 keep state keep frags group 11

> My default gateway is via ip.tun2, an ip-ip tunnel. Well most people on
> the internet have forgotten about the use of ICMP, so a mtu of 1480 is
> not really handy. These two rules redirect my http and ftp traffic to my
> 'real' gateway. Works perfectly. I was just wondering, the Howto says
> this rewites the destination address, but for some reason I'm able to
> reach all websites... Is this an error in the Howto?

> I'm running ipfilter v3.4.29 on solaris8 on sparc.


> -- Remco

Reply via email to