LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2018, 08:56 AM   #1
anon059
LQ Newbie
 
Registered: May 2018
Posts: 14

Rep: Reputation: Disabled
OpenVPN, multi-router


Hi,

I've been trying to set up OpenVPN (For private internet access) for most of the computers in the house; and to do so at full speed, I've had to use my linux NAS machine as a router/OpenVPN client to be able to get the full 100Mbps.

Currently my setup is Modem > Asus AC68U Router > Linux Router/NAS

My asus router is the DHCP and directs all devices to use the xubuntu machine as a gateway. All working nicely.

However; my AC68U detects all traffic coming from the xubuntu machine. Is there any way for this not to be the case? I would like to be able to use some of the AC68U tools such as QOS, internet blocking etc that require specific device identification.

Cheers in advance
 
Old 05-03-2018, 03:32 AM   #2
coltree
Member
 
Registered: Nov 2003
Location: Jacobs Well, Queensland AU
Distribution: OpenBSD
Posts: 102
Blog Entries: 1

Rep: Reputation: 34
Hi,
1. have you been able to set up the Asus router to handle the VPN and get rid of your modem
then setup would be simplified - NBN -> Asus -> home network + NAS ?

the openvpn isn't just client, more pass-through

2. might otherwise try - NBN -> modem -> NAS/router -> Asus -> home network ?

3. get rid of Asus, setup would be - NBN -> modem -> NAS/router -> home network ?
on NAS/router have wifi configured as network access point (AP) mode with a compatible wireless device
e.g. my wifi will do an access point

I prefer 1. it's simplest

Last edited by coltree; 05-03-2018 at 03:37 AM.
 
Old 05-03-2018, 06:08 AM   #3
anon059
LQ Newbie
 
Registered: May 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Hi,

thanks for the reply, i did try setup 1, however the router only had the processing power for 40Mbps, I even tried overclocking. It had to move to the NAS/Router to get the full 100mbps.

I also initially had it set up as in example 2, however; I also use the Asus for openvpn server and found it to work much better this way around. The user interface for port fowarding etc is also much nicer than playing around with IP tables

Number 3 is possible, but I can also just turn the Asus into an access point, however I don't want to lose all it's easy to use features!

It may not be possible without doing all of these bits on the NAS machine, as it is the one doing the masking
 
Old 05-06-2018, 07:07 PM   #4
anon059
LQ Newbie
 
Registered: May 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Any ideas

Anyone else have any ideas?
 
Old 05-06-2018, 10:50 PM   #5
coltree
Member
 
Registered: Nov 2003
Location: Jacobs Well, Queensland AU
Distribution: OpenBSD
Posts: 102
Blog Entries: 1

Rep: Reputation: 34
The VPN will be slower than a direct connection depending on the provider and account type. Are you paying for a fast VPN or just a cheap account ?
Mine is middle price for my vpn provider and noticeably slower than my normal nbn connection.
What is your NAS ? an Intel boxen ? an Arm boxen ?
There are some nice Arm SBCs with lots of cores, including A72 or A73, setup for server/router,
bit more expensive than the cheapos, headless, teamed up with Debian or FreeBSD.
https://en.wikipedia.org/wiki/List_o..._distributions
 
Old 05-07-2018, 06:36 AM   #6
anon059
LQ Newbie
 
Registered: May 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
My NAS/router is an old dual core pc I stuck a Xeon in. It can handle the speed. 100mbps down.

Most consumer routers can not handle encryption at such a speed as to get the full down
 
  


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
Hardware OpenVPN router SciFi-Bob Linux - Server 2 09-12-2017 03:04 AM
Linux Router with OpenVPN jspiff Linux - Networking 3 02-10-2017 03:56 PM
[SOLVED] OPENVPN multi site help needed linuxgurusa Linux - Software 2 11-27-2014 03:35 AM
TUT Centos OpenVPN Multi-server jojit_0024 Linux - Newbie 1 05-27-2011 05:34 AM
[SOLVED] Routing across a multi-homed router from a openvpn tunnel: ping works ssh doesn't. skyanvil Linux - Networking 1 08-17-2010 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:48 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