Re: problem with routnig



"Bruce M. Simpson" <bms@xxxxxxxxxxx> 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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: D-Link DSL-300T
    ... >> ADSL connection. ... I've got FreeBSD 4.10 running as a gateway at home. ... > configuration, how do you access the modem for configuration and ...
    (comp.unix.bsd.freebsd.misc)
  • Re: NAT / ipfw / GW - FreeBSD 4.10 to Linux Private Network???
    ... > So with the help of all of you I have configure my FreeBSD 4.10 gateway. ... > I'm trying to get internet connection for my linux box, ... You'll need to set up port forwarding. ...
    (freebsd-questions)
  • A Challenge... NAT for PPP dial in user
    ... I have a FreeBSD 4.8 box set as a gateway on my home LAN. ... downstairs, and a few dial up users... ...
    (freebsd-questions)
  • gateway security?
    ... some discussions of general security in a LAN environment with a FreeBSD ... headless gateway sits in a dark closet, ...
    (FreeBSD-Security)
  • RE: Setting up a multi-platform VPN?
    ... Make your life much easier and buy a Snapgear box to act as your gateway. ... The VPN support is great and easy to set up. ... We are using FreeBSD (4.8-RELEASE, ... > network, as well as serving e-mail, Web, etc. ...
    (freebsd-net)