linux ip command and routing

Perry Couprie perry at couprie.net
Thu Jan 6 21:11:04 CET 2011


I try to explain it better:

I have two company tinc vpns.

Each company has a tinc interface and 1 or more eth devices.

For example:

company01: tinc01 and eth0,eth1
company02: tinc02 and eth2,eth3

With default routing the 2 company networks can connect to each other 
networks.
By using the extra routing tables i want to prevent that.

Is that possible and can some one give me a hint where to look.

Perry


On 01/06/2011 01:48 PM, ZioPRoTo (Saverio Proto) wrote:
>> But how can i add the routing for the tinc device to company10703004 routing
>> table.
> you need to set up some policy with "ip rule" to make the desired
> traffic match that extra table
>
> example:
>
> ip rule add to 192.168.2.0/24 table company10703004
>
> read the manual for more complex examples.
>
> Saverio
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc



More information about the tinc mailing list