Hi This is the situation, the machine, FreeBSD 4.5 Stable (ipfilter ver. 3.4.20) has two networks, 212.33.80.32/28 (gateway 212.33.80.33) and 195.205.159.0/25 (gateway 195.205.159.2 cisco 25xx) and interfaces fxp0 212.33.80.42 and fxp1 195.205.159.14. Default routing is set by 212.33.80.33. But I want to set this in that way, when the packet from the internet is arriving to fxp1 it returns the same way. So after reading some papers I set up: [root@net westbam]# ipfstat -i pass in quick on fxp1 to fxp1:195.205.159.2 proto tcp from 195.205.159.14/32 to any pass in quick on fxp1 to fxp1:195.205.159.2 proto udp from 195.205.159.14/32 to any pass in quick on fxp1 to fxp1:195.205.159.2 proto icmp from 195.205.159.14/32 to any and this didn't work, even when I tried to change IN to OUT : [root@net westbam]# ipfstat -o pass out quick on fxp1 to fxp1:195.205.159.2 proto tcp from 195.205.159.14/32 to any pass out quick on fxp1 to fxp1:195.205.159.2 proto udp from 195.205.159.14/32 to any pass out quick on fxp1 to fxp1:195.205.159.2 proto icmp from 195.205.159.14/32 to any this one didn't work even. When someone is making connection to 195.205.159.14 the packets with source ip 195.205.159.14 are going back by fxp0. My NAT table is empty. Can anyone help me and tell me what I'm doing wrong?
-- regards Karol Daniszewski http://net.art.pl/ Net Art
