Skip to contentSkip to conversation

How to classify this packets into correct mangle table?

DISCUSSION Rio Martin 1 participant 1 message Jan 21, 2005

lore
Share & tools
lore

Rio Martin

author
#0 lore raw
Quoted 2 lines · --- Samuel =?iso-8859-1?B?RO1heiBHYXJj7WE=?= <[email protected]> wrote:

What's do you need?
Shape the incoming traffic from 192.x subnet? Shape the outgoing traffic >

to

Quoted 1 line

192.x subnet? Only shape from/to internet these subnets? Explain a bit.

I need both outgoing and incoming.
Yes, i ve tried with IMQ but failed, because if i set PREROUTING -i eth0, it only recognize my public IP, not 192.168.1.x

There are no packets flowing directly to 192.168.1.x coming from the internet. That because those IP have been set to be NATed to my public IP before leaving out the interface linked to the internet (eth0).

Regards,
Rio Martin.

Quoted 11 lines
Quoted 11 lines

Dear all,
I am so confuse classifying the correct packets into mangle table. Here i describe the situation.

LAN ---- :eth1 [ LINUX-BOX ] eth0: ---- INTERNET
eth0 220.1.1.1
eth0:1 192.168.1.1
eth0:2 192.168.1.2
eth1 10.10.10.1 [network 10.10.10.0/24]

I ve those two private IP aliases in eth0 and those get NATed to 220.1.>

1.1

Quoted 3 lines
Quoted 3 lines

before reaching the internet.

I need to shape those two IPs in TC, but i am confuse how to classify i>

t on

Quoted 1 line
Quoted 1 line

mangle table. I need to shape the incoming and outgoing packets from th>

ose

Quoted 21 lines
Quoted 8 lines

two IPs.

Need help, thanks ..

Regards,
Rio Martin.

Samuel Díaz Garcí­a
Director Gerente
ArcosCom Wireless, S.L.L.

mailto:[email protected]
http://www.arcoscom.com
móvil: 651 93 72 48
tlfn/fax: 956 70 13 15