Hi

I used ipfilter for transparent proxy squid on fbsd box. It is successful 
but after I used ipfilter the box cannot accept connection from outside 
i.e. I couldnt ssh/ftp to the box (it will said connection time out). I can 
ssh/ftp from localnets. I can ping/traceroute from outsite.

I have installed the same fbsd box on other site without any problems.

ipf v3.4.27

ipf.rules
pass in all
pass out all

ipnat.rules
map rl0 192.168.0.0/16  -> 0/32  portmap tcp/udp auto
rdr rl1 0/0 port 80 -> 127.0.0.1 port 3128
rdr rl2 0/0 port 80 -> 127.0.0.1 port 3128

rc.conf
ipfilter_enable="YES"
ipnat_enable="YES"
ipmon_enable="YES"
ipfs_enable="YES"

Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.10.1       UGSc        5      966    rl0
127.0.0.1          127.0.0.1          UH          2       98    lo0
192.168.0          link#2             UC          3        0    rl1
192.168.0.1        0:50:bf:39:23:2a   UHLW        0       28    lo0
192.168.0.115      link#2             UHLW        1       68    rl1
192.168.0.145      link#2             UHLW        1        1    rl1
192.168.1          link#3             UC          1        0    rl2
192.168.1.9        link#3             UHLW        2     3359    rl2
192.168.10         link#1             UC          2        0    rl0
192.168.10.1       0:4:27:fd:c5:c5    UHLW        6        0    rl0    357
192.168.10.2       0:50:bf:39:51:5e   UHLW        0       29    lo0

192.168.10.1 Cisco ADSL Router
192.168.10.2 fbsd box + ipfilter

Thanks for any help in advance.

Regards,
Andi

Reply via email to