From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756980AbdEKQXK (ORCPT ); Thu, 11 May 2017 12:23:10 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33136 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753288AbdEKQXH (ORCPT ); Thu, 11 May 2017 12:23:07 -0400 Subject: Re: Implementing Dynamic Rerouting in Kernel To: Ravish Kumar , Networking , linux-kernel@vger.kernel.org, mst@redhat.com, Jason@zx2c4.com References: From: Florian Fainelli Message-ID: <3b6e4d7b-0e35-5944-1200-6b0721afca82@gmail.com> Date: Thu, 11 May 2017 09:22:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/11/2017 02:59 AM, Ravish Kumar wrote: > Hi Experts, > > Need expert advice for the one of the requirement Where in VPN > solution we want to dynaically route the packets to different adapter. > We will manage our own DNS cache and , based on DNS to IP lookup, we > can redirect the packet either to Tun device or to a physical adapter. > > Please suggest some design what i need to do. What you are looking for can be done using ipset-dns from Jason: https://git.zx2c4.com/ipset-dns/about/ -- Florian