[Olsr-dev] SmartGW client side questions

Sven-Ola Tuecke (spam-protected)
Wed Apr 28 17:11:48 CEST 2010


Hey,

wildcards in iptables interfaces. Never heard about that, but it works. So 
forget about my murmur about callbacks or static tunnel interace name 
immediately.

Tunnel name is e.g. tnl_7c41c668
This rule works: iptables -I OUTPUT -o tnl_+ -p icmp -j LOG

// Sven-Ola

----- Original Message ----- 
From: "Jo-Philipp Wich" <(spam-protected)>
To: "OLSR Development List" <(spam-protected)>
Sent: Wednesday, April 28, 2010 4:12 PM
Subject: Re: [Olsr-dev] SmartGW client side questions


> [resent to list, accidentally replied directly]
>
> Hi.
>
>> A fixed name e.g. "olsr-smartgw" is more easily to handle, e.g. 
>> "iptables -A
>> FORWARD -o olsr-smartgw -p tcp --tcp-flags SYN,RST SYN -j
>> TCPMSS --clamp-mss-to-pmtu" sits in the firewall list and waits for the
>> interface to be created. If we use a fixed name, I would omit the 
>> mentioned
>> "background" job.
>
> Can't you specify something like "tnl+" as wildcard in iptables for tnl0
> - tnlN or is the naming more complex?
>
> ~ Jow
>
> -- 
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev 





More information about the Olsr-dev mailing list