public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] VPN question
Date: Tue, 24 Dec 2013 11:31:27 +0000	[thread overview]
Message-ID: <201312241131.50365.michaelkintzios@gmail.com> (raw)
In-Reply-To: <52B87671.5040200@taydin.org>

[-- Attachment #1: Type: Text/Plain, Size: 1845 bytes --]

On Monday 23 Dec 2013 17:44:17 Timur Aydin wrote:
> On 12/23/13 18:24, Burak Arslan wrote:
> > Once the VPN connection is established, among the routes pushed by your
> > OpenVPN provider is also a default gateway entry which routes every
> > non-local packet through the vpn.
> 
> Here is the routing setup after the tunnel is up:
> 
> bonsai ~ # /etc/init.d/openvpn start
>  * Starting openvpn
>  * WARNING: openvpn has started, but is inactive
> bonsai ~ # ip route show
> 0.0.0.0/1 via 10.8.2.213 dev tun0
> default via 92.44.0.41 dev ppp0  metric 4007
> 10.2.1.0/24 dev eno1  proto kernel  scope link  src 10.2.1.254
> 10.2.2.0/24 dev enp1s0  proto kernel  scope link  src 10.2.2.254
> 10.2.3.0/24 dev enp8s0  proto kernel  scope link  src 10.2.3.254
> 10.8.2.209 via 10.8.2.213 dev tun0  metric 1
> 10.8.2.213 dev tun0  proto kernel  scope link  src 10.8.2.214
> 92.44.0.41 dev ppp0  proto kernel  scope link  src 176.41.233.165
> 127.0.0.0/8 dev lo  scope host
> 127.0.0.0/8 via 127.0.0.1 dev lo
> 128.0.0.0/1 via 10.8.2.213 dev tun0
> 173.195.6.91 via 92.44.0.41 dev ppp0
> 
> > Your daemons at home receive a packet via your static Turkish address
> > but, because you got your default gw configured to be your vpn provider,
> > the response packet goes through NY. Due to reverse-path filtering or
> > some other fact of nature, it's dropped somewhere along the way.
> > 
> > If that's the case (big if :)), here's what you need to do:
> > http://lartc.org/lartc.html#AEN267
> 
> Thanks for this link! I will need some time to digest this information
> and will report back with my progress.

Also have a look here for OpenVPN specific split tunnelling (split routing):

  http://dltj.org/article/openvpn-split-routing/

  https://forums.openvpn.net/topic7065.html

HTH.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2013-12-24 11:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23 12:47 [gentoo-user] VPN question Timur Aydin
2013-12-23 15:55 ` Michael Orlitzky
2013-12-23 16:01   ` Timur Aydin
2013-12-23 16:12     ` Michael Orlitzky
2013-12-23 17:39       ` Timur Aydin
2013-12-24  0:04         ` Michael Orlitzky
2013-12-24  0:15           ` Michael Orlitzky
2013-12-23 16:24     ` Burak Arslan
2013-12-23 17:44       ` Timur Aydin
2013-12-24 11:31         ` Mick [this message]
2013-12-24 17:06       ` Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2013-12-23 10:55 Timur Aydin

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=201312241131.50365.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.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