On Mon, 27 Jan 2003 10:21:42 +0200 Andrei Syrovenko <[EMAIL PROTECTED]> wrote:
> Hello, > > 1. What I can see from your rules is you are trying to use policy > routing. Source routing is a different thing. > That may be a better name for what I'm trying to do ;-) > 2. You can not mix policy routing (to <int>[:<ip>] clause) and keep > state technique in you rules, AFAIK. > THat may explain why this didn't work with the 'flags S' added, as I usually do in out rules. > -- > 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 For some reason, I don't know why, ftp is a problem. I have the mandatory ftp proxy rules in my ipnat.conf, still, ftp doesn't work with policy routing, It does work when I leave this rule out. No biggy, ftp site maintainers do seem to appriciate the use of ICMP, at least the sites I've tested... > > > 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? And that reamains a question... ;-) > > > I'm running ipfilter v3.4.29 on solaris8 on sparc. > > > > -- Remco > -- Remco
