problem with routnig

Marko Lerota marko.lerota at zg.t-com.hr
Wed Sep 27 07:08:41 PDT 2006


"Bruce M. Simpson" <bms at FreeBSD.org> writes:

> Marko Lerota wrote:
>> route_lan2="-net 192.168.2.0 -netmask 255.255.255.0 -iface xl0"
>> route_lan2="-net 192.168.2.0 -netmask 255.255.255.0 192.168.1.1"
>>
> Neither of these subnet routes should be necessary as 192.168.2.0/24
> is already directly connected via fxp0.
>
> Do you still see the problem without this route installed?

Yes

I'm trying to do this

                                       FreeBSD BOX
LAN 192.168.2.0/24 ---> switch0 ---> fxp0 192.168.2.71
                                     xl0 192.168.1.70 ---> switch1 ---> GW 192.168.1.1 

I want to intercept every packet from network, and don't allow LAN users
to go directly to gateway. Gateway is phisically removed from LAN users.
The only link is through FreeBSD box. Maybe this is, how they call it
"transparent proxy or Intercepting proxy" ?

-- 
One cannot sell the earth upon which the people walk
                               			Tacunka Witco 


More information about the freebsd-net mailing list