All of lore.kernel.org
 help / color / mirror / Atom feed
From: Foxtrot Mike <foxtrotmike59@gmail.com>
To: netfilter@vger.kernel.org
Subject: Reroute VPN server outgoing traffic to TOR
Date: Sun, 10 May 2015 18:04:20 +0800	[thread overview]
Message-ID: <554F2D24.6040603@gmail.com> (raw)

Hi people

After three days of following HowTos, guides, some debugging and help 
from guys at users@lists.strongswan.org I was able to setup a VPN server 
on my spare PC (Ubuntu Server 14.04) using StrongSwan. The clients are 
able to connect to the VPN server successfully.

I want the VPN server to redirect all the outgoing traffic to TOR. IPsec 
VPN is listening at default 0.0.0.0:500 and TOR is listening at 
localhost:9050. Ideally, all my clients would connect to the VPN server 
which would then send all the traffic over TOR.

I have very little knowledge of iptables. I tried understanding it but 
it requires a lot of TCP/IP and networking knowledge which I lack. I was 
wondering if someone here could provide me a solution, or atleast guide 
me  in the right direction.

Regards,
Foxtrot

                 reply	other threads:[~2015-05-10 10:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=554F2D24.6040603@gmail.com \
    --to=foxtrotmike59@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.