Skip to contentSkip to conversation

wondershaper and dmzs

LARTC seph 2 participants 2 messages Mar 29, 2007

lore
Share & tools
lore

seph

author
#0 lore raw

I have a pretty simple setup. I've got a linux nat box, with some internal hosts. I've also got some servers in a dmz. It looks something like this:

               Internet 
                  |    
           (external network)             
             |           |   
             |           |   
           linux        dmz 
            nat        hosts
             |            
             |         
       (office network)  
             |           
             |           
           office  
            hosts  

I'd like to shape the office traffic that's going out to the internet, while leaving the office traffic to the dmz alone. After all, the network link the dmz fast. I've been using wondershaper, since it's easy and works well, but I'm not sure how to add in an exception for the dmz hosts.

Can I do this with tc, or is the entire interface shaped? It seems like I might be able to create a more explicate filter, but I'm having trouble getting it to work.

seph
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc