Skip to contentSkip to conversation

tcng + NAT

LARTC [email protected] 2 participants 3 messages Aug 2, 2004 – Aug 4, 2004

lore
Share & tools
lore
#0 lore raw

Does anybody know how to you use tcng with packet marking. I'm masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets?

Thanks for your help.

#1 lore raw

Hello,

you can try:

.
.
.

// ip header type of service

        class ( <$adsl_high> ) if ip_tos = 0x80;
// metadata packet mark
        class ( <$adsl_medium> ) if meta_nfmark = 0x30;

.
.
.
Cheers

Charles

Quoted 7 lines · On Mon, 2004-08-02 at 18:02, [email protected] wrote:

Does anybody know how to you use tcng with packet marking. I'm masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets?

Thanks for your help.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to [email protected]
     class ( <$adsl_medium> ) if meta_nfmark = 0x30;

It works great. Thanks for help :D.

Quoted 30 lines

Hello,

you can try:

.
.
.

// ip header type of service

        class ( <$adsl_high> ) if ip_tos = 0x80;
// metadata packet mark
        class ( <$adsl_medium> ) if meta_nfmark = 0x30;

.
.
.
Cheers

Charles

Quoted 6 lines · On Mon, 2004-08-02 at 18:02, [email protected] wrote:

Does anybody know how to you use tcng with packet marking. I'm masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets?

Quoted 5 lines
Quoted 1 line

Thanks for your help.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/