Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "J. Bakshi" <joydeep@infoservices.in>
To: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: How to force all packet go through tun0 ?
Date: Wed, 5 Dec 2012 15:31:59 +0530	[thread overview]
Message-ID: <20121205153159.2f96e942@shiva.selfip.org> (raw)

Hello,

I have reconnect script which reconnect the vpn connection if
tun0 is missing. Still during the reconnect phase, the packets
go through the eth0. How can I force all packets to go through
tun0 and how can I exclude the domain required for vpn connection
to be established ?

Thanks

             reply	other threads:[~2012-12-05 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 10:01 J. Bakshi [this message]
2012-12-05 13:25 ` How to force all packet go through tun0 ? Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121205153159.2f96e942@shiva.selfip.org \
    --to=joydeep@infoservices.in \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox