----- Original Message ----- From: "Crist J. Clark" <[EMAIL PROTECTED]> To: "Karol Daniszewski" <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 7:43 PM Subject: Re: Problem with the 'to' method
> On Tue, Apr 30, 2002 at 04:10:08PM +0200, Karol Daniszewski wrote: > > ----- Original Message ----- > > From: "Crist J. Clark" <[EMAIL PROTECTED]> > > To: "Karol Daniszewski" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Tuesday, April 30, 2002 10:02 AM > > Subject: Re: Problem with the 'to' method > > > > > > > On Mon, Apr 29, 2002 at 11:00:13PM +0200, Karol Daniszewski wrote: > > > > [..cut..] > > > > > > > > Stop. Think. You are trying to _redirect_ outgoing packets out of > > > interface fxp1 since the routing table will send them out of > > > fxp0. I say again, the system is trying to send them out of > > > _fxp0_. When will the rules above ever match? The system is not > > > sending the packets out of fxp1. > > > -- > > > Crist J. Clark | [EMAIL PROTECTED] > > > > When I set it up this way: > > pass out quick on fxp0 to fxp1:195.205.159.2 proto tcp from 195.205.159.14 > > to any > > pass out quick on fxp0 to fxp1:195.205.159.2 proto udp from 195.205.159.14 > > to any > > pass out quick on fxp0 to fxp1:195.205.159.2 proto icmp from 195.205.159.14 > > to any > > > > now any packet arriving to 195.205.159.14 in fxp1 isn't going out by _any_ > > of the interfaces. > > Tcpdump shows incoming icmp echo requests but there are no reply on fxp0 or > > fxp1. This way the fxp1 interface isn't working at all. > > And traceroute to any addres with -s 195.205.159.14 gives something like > > that: > > traceroute to 213.25.59.22 (213.25.59.22) from 195.205.159.14, 64 hops max, > > 40 byte packets > > 1 router.biatel.com.pl (195.205.159.2) 2.093 ms * 29.612 ms > > And that's it! So what ipf did with the outgoing icmp replys and other data > > ? > > >From the traceroute(8), it looks like the packets are getting to > 195.205.159.2, which is what you want, no? I don't know what that > router might be doing with the packets once it gets them, but it looks > like the fastrouting is working. > -- > Crist J. Clark | [EMAIL PROTECTED] According to traceroute manual '-s Use the following IP address as the source address in outgoing probe packets.' So with -s 195.205.159.14 I'm sending UDP datagrams with source address so they should match the one of the rule'. Yes, the traceroute output shows the nexthop which is the router IP but tcpdump doesn't show anything with (source or not) address 195.205.159.14 on the fxp1 interface. Even when I'm sending icmp echo requests from the outside to this IP tcpdump shows incoming requests but there are no reply on the both interfaces fxp0 and fxp1. The fxp1 is dead. Still confused I'm asking for any advices. -- Karol Daniszewski http://net.art.pl/ Net Art
