buck <(E-Mail Removed)> wrote in news:ji2eo05dqadmj8rgm400pf7m44j58qjji4@
4ax.com:
> On 1 Nov 2004 14:54:38 -0800, (E-Mail Removed) wrote:
>
>>Hi all!
>>
>>Could someone please advice me in following topic.
>>I want to set up a linux box for transparent (bridging)
>
> Please describe what you intend for this "transparent (bridging)" to
> accomplish.
All I want to do is a filtering (firewalling) and trafficshaping in a
way, that I do not interfere with my local network provider. I read, that
bridges are the choice for doing really transparent (at least to an IP
level) tasks.
> I think you mean that you want machines on an internal network to be
> able to gain access to the internet via a Linux box. If that is the
Nope. I already have internet access set up working neatly. I definitley
do not want to have a conventional router in place.
> case, you create 2 connections - usually 2 network cards - on the
> Linux box and use iptables's SNAT to send and receive packets between
> your internal LAN and the internet. Use an "example.com" IP for the
> internal interface (10.0.0.0/8 or 172.16.0.0/16 or 192.168.0.0/24).
> The external interface gets the IP(s) assigned by your provider.
As said above, this already works fine for me on a plain MS base.
External IF is my network providers IP, internally I head for
192.168.0.0/24. And in between there's something w/o an IP :-]
> It can be done other ways, but the above is probably the easiest to
> comprehend.
True. It was even easier to set up what I have right now ;-)
>>* traffic shaping (shaper, QoS)
>
> Start with wonder shaper, which you can download from
> http://lartc.org/wondershaper
good starting point. got it, read it, still got to understand it in
depth. Working on this one.
>>* small IDS (snort?) and
>
> Sorry, I'm no help here.
>
>>* virus detection (F-Secure?)
>
> Or here either...
Well, worth a try anyway :-))
>>So where to start best?
>
> LARTC mailing list, HOWTOs in /usr/doc, google...
Working through LART right now, heavy stuff for a "newbie" (well not
really but at least for tc, tcng, netfilter, and sort of things)
>> My biggest concern is, that is traffic shaping
>>compatible with bridging? AFAIK there is no IP on the shaping
>>interfaces. Which mechanism should I use for shaping? Shaper device or
>>QoS device? If QoS, which one? Shaping should be done on IP and Port
>>base for IP based protocols.
>
> This is your call. I like shaping but your situation and opinion may
> differ. After you've looked at the LARTC HOWTO you'll have your
> answer as to bridging, but I'll give you a hint: shaping works on the
> interface, not the IP. I dislike ebtables, promiscuous NIC and the
This point encouraged me to continue actually. Just was not sure on where
shaping is implemented.
Well lets see how far I get.
> overhead that software devices add. Wonder shaper uses both port and
OK. I also figured out till now, that the shaper device is obsolete by
now and should be replaced by HTB or similar.
> IP matching for shaping.
>
>>Anyone done this or parts before?
>
> Many have.
I assumed. That's why I asked for some starting help to get off the feet.
>>Thanx for any help
>>cheers
>>e.
>
> If you want to look at what I've done, reply and I'll post URLs from
> which you can download my custom shaping scripts, firewalls, proxyARP
If your're really willing to, that would be great indeed.
> setup script, Etc. But don't expect this to be easy. It tales a lot
After starting reading LARTC How To, I definitly do not expect this to be
straight foreward.
> of learning to make it work.
Well, that should not be the problem.
> buck
cheers
EDW
P.S: Sorry for late answering, but was a bit more involved in regular
work for the last few days. Anyway, thanx a lot for the starting points.