How to run OpenVPN over Tor - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2016
    Linux (Fedora) Firefox 64.0

    How to run OpenVPN over Tor

    1) install Tor:

    sudo dnf install tor

    2) modify Tor package setting to tunnel VPN traffic:

    add this line to the "/etc/tor/torrc" file, then save changes:

    SOCKSPort 9150 PreferSOCKSNoAuth

    3) tell OpenVPN to use a proxy:

    Add these 2 line to VPN config file, then save changes:

    socks-proxy localhost 9150 

    4) restart tor service:

    sudo systemctl restart tor

    N.B: you may need to reload the config for tor with:

    sudo systemctl reload tor

    5) to connect VPN over Tor:

    1st, run, Tor service “sudo systemctl start tor” (& keep it running), then, run OpenVPN. Now, your Internet traffic will go as following:

    PC -------> Tor entry node -------> Tor middle node -------> Tor exit node -------> Your VPN service provider -------> Your target Internet address.

    Advantage of this configuration:

    1) hide your real IP address from your VPN service provider;

    2) get rid from risk of malicious (hacker) Tor exit nodes & their dirty activities.
    Disadvantage of this configuration: your Internet speed will markedly decreased.
    Remember: Tor service should be kept opened throughout VPN session.
    Last edited by User808; 26th January 2019 at 08:24 PM.
    Fedora 28 X64 bit Cinnamon edition on Lenovo ThinkPad e550 with Intel core i7 5500 CPU @ 2.40 GH X 2, RAM = 8 GB, HHD = 1 TB, Hybrid VGA (Intel Corporation HD Graphic 5500 + Radeon R7 M265 2GB)

Similar Threads

  1. OpenVPN with MD5
    By ScottBrown in forum F24 Development Forum
    Replies: 4
    Last Post: 30th April 2016, 02:24 PM
  2. Replies: 1
    Last Post: 29th January 2012, 07:44 PM
  3. OpenVPN
    By Nbnamp in forum Servers & Networking
    Replies: 4
    Last Post: 8th February 2008, 03:05 PM
  4. OpenVPN 2.0 rpm for FC4
    By echidna in forum Security and Privacy
    Replies: 3
    Last Post: 31st August 2005, 08:57 AM
  5. OpenVPN
    By windblows in forum Servers & Networking
    Replies: 0
    Last Post: 28th July 2005, 06:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts