LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2018, 02:48 AM   #1
shaklasah
LQ Newbie
 
Registered: Nov 2018
Posts: 1

Rep: Reputation: Disabled
Routing Network Traffic through OpenVPN: Network Lost


I am trying to route my traffic through OpenVPN server so that all traffic can go through the server and I access the internet through it. Here is my route table, looks like I lost my access to the network:

Code:
>>route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.8.0.1        0.0.0.0         UG    0      0        0 tun0
0.0.0.0         192.168.8.1     0.0.0.0         UG    100    0        0 enp0s3
10.8.0.0        0.0.0.0         255.255.255.0   U     0      0        0 tun0
10.8.1.0        10.8.0.1        255.255.255.0   UG    0      0        0 tun0
10.8.2.0        10.8.0.1        255.255.255.0   UG    0      0        0 tun0
10.8.3.0        10.8.0.1        255.255.255.0   UG    0      0        0 tun0
10.10.0.0       10.8.0.1        255.255.0.0     UG    0      0        0 tun0
10.11.0.0       10.8.0.1        255.255.0.0     UG    0      0        0 tun0
52.8.94.117     192.168.8.1     255.255.255.255 UGH   0      0        0 enp0s3
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp0s3
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
172.18.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-5e059b344652
172.31.0.0      10.8.0.1        255.255.0.0     UG    0      0        0 tun0
192.168.8.0     0.0.0.0         255.255.255.0   U     100    0        0 enp0s3
caption:
  • 52.8.94.117 is my open vpn public IP address which is routed to my home gateway..
  • 10.8.0.1 is my internal vpn ip address assigned by tun0
 
Old 11-13-2018, 05:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Where's your default route?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing whole traffic through OpenVPN Kean Linux - Networking 0 06-30-2013 05:44 PM
Directing OpenVPN client's traffic through the OpenVPN server mohtasham1983 Linux - Networking 1 01-17-2012 06:44 PM
Error When converting Routing OpenVPN to bridge mode openvpn danmartinj Linux - Software 0 11-06-2009 09:23 AM
OpenVPN traffic routing on secondary IP problem dominos Linux - Networking 1 07-06-2009 10:42 PM
policy routing for HTTP traffic over OpenVPN mikeage Linux - Networking 1 05-21-2009 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration