LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OpenVPN, multi-router (https://www.linuxquestions.org/questions/linux-networking-3/openvpn-multi-router-4175628853/)

anon059 05-02-2018 08:56 AM

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

coltree 05-03-2018 03:32 AM

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

anon059 05-03-2018 06:08 AM

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

anon059 05-06-2018 07:07 PM

Any ideas
 
Anyone else have any ideas?

coltree 05-06-2018 10:50 PM

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

anon059 05-07-2018 06:36 AM

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


All times are GMT -5. The time now is 05:06 PM.