Newbie OpenVPN question

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2  Next
Author Message
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Fri Aug 20, 2021 1:21    Post subject: Newbie OpenVPN question Reply with quote
I have an asus router at my house that is setup with OpenVPN as the server. I created a key and installed the OpenVPN app on my phone. I can get to my devices on my home network via my phone using the VPN app.

I have a vacation home that has multiple IP cameras. I have flashed DDWRT to an old Netgear R6250 router and would like to set up a way using this router to either create a new Server or do a point to point tunnel between my two locations so I can always see my IP cameras.

Total newbie when trying to set this up. The Asus way of setting up OpenVPN was fairly easy, but the screens I'm getting on my Netgear router look a lot more complex.

I've looked online but they all seem to be for setting up a server, which I'm not even sure I need to do?

Any help is appreciated!
Sponsor
DWCruiser
DD-WRT User


Joined: 15 Aug 2016
Posts: 223
Location: Melbourne, Australia

PostPosted: Fri Aug 20, 2021 3:01    Post subject: Re: Newbie OpenVPN question Reply with quote
jwadsley wrote:
...I've looked online but they all seem to be for setting up a server, which I'm not even sure I need to do?


More often, it can be intimidating a task which one has mastered elsewhere but has to start from scratch due to differences in GUI. I was a BETA tester of Windows 95 before it was launched. Despite that, I had to spend several hours familiarizing myself with each later versions of Windows to enable a smooth ... sailing afterward.

Don't let it intimidate you. Cool Here is a step-by-step as laid out in the linked doc. by egc below.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795

Good luck.

_________________
Life is a journey; travel alone makes it less enjoyable and lonely.
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Fri Aug 20, 2021 3:33    Post subject: Reply with quote
I'll give that guide a shot, looks pretty in depth. The Asus version didn't seem nearly as complicated...

Am I correct in thinking I'll need a server at home home and my vacation home to view both sets of cameras?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Fri Aug 20, 2021 6:01    Post subject: Reply with quote
We can provide better support if you state router model and build number.

See the forum guidelines.

You can setup the server and client per the guide @Dwcruiser has send you.

For bidirectional communication see the paragraph about site-to-site setup.

Links for openvpn and wireguard in my signature at the bottom.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Fri Aug 20, 2021 16:31    Post subject: Reply with quote
Router model is a Netgear R6250

DDWRT Version is DD-WRT v3.0-r39960M kongac (06/08/19)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Fri Aug 20, 2021 18:15    Post subject: Reply with quote
That is a very old build with known security issues and suboptimal OpenVPN.

Consider using a recent build.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Fri Aug 20, 2021 21:19    Post subject: Reply with quote
I've since updated to:
DD-WRT v3.0-r44715 std (11/03/20)
which is the latest I could find from this site for my router hardware
DWCruiser
DD-WRT User


Joined: 15 Aug 2016
Posts: 223
Location: Melbourne, Australia

PostPosted: Fri Aug 20, 2021 23:28    Post subject: Reply with quote
I still remember vividly what my mum taught me when young to ask nicely when you need help. Especially from a stranger. My mum has now passed away and I am more than 60 years young, with my oldest daughter at 34.

Somehow typing onto a screen using a keyboard tends to make users forget that these are just medium. It still requires someone's thoughts, on the other side of the server.

This forum, as far as I know, is contributed by volunteers. Not paid workers.

P.S. I stand to be corrected. If wrong.

_________________
Life is a journey; travel alone makes it less enjoyable and lonely.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14222
Location: Texas, USA

PostPosted: Fri Aug 20, 2021 23:28    Post subject: Reply with quote
Current release is 47206:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/08-19-2021-r47206/netgear-r6250/

From "Where Do I Download Firmware?":

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/

https://dd-wrt.com/support/other-downloads/?path=betas/2021/

ftp://ftp.dd-wrt.com/betas/2021/

Unofficial download mirror:

https://mirror.math.princeton.edu/pub/ddwrt/betas/2021/

P.S. All releases are beta and have been beta since 2008

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Sat Aug 21, 2021 3:57    Post subject: Reply with quote
Will my Asus Open VPN setup be compatible with a setup I would make on DDWRT or is it apples and oranges?

I don't need to go through all this trouble if I have to be on the same system...I'll just get another Asus router....
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14222
Location: Texas, USA

PostPosted: Sat Aug 21, 2021 4:09    Post subject: Reply with quote
We don't know what Asus router you have that is running stock (or RMerlin / AsusWRT-Merlin) or other details. Specific information is quite helpful for us to help you.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sat Aug 21, 2021 5:45    Post subject: Reply with quote
DDWRT uses OpenVPN 2.5.3.

This is compatible with OpenVPN 2.4.

The latest 2.4 version which has the latest security fixes is 2.4.9.

So if stock or Merlin uses at least 2.4.9 you are fine.

But with any 2.4.x it should work.

Edit:
Setup your home as OpenVPN server attach your vacation home as client site-to-site setup.
You now have bidirectional traffic between home and vacation home.

You can use your phone to connect to your home (like you are doing now) and when connected can also see your holiday home.

You can also use WireGuard as VPN is somewhat easier to setup

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Sat Aug 21, 2021 14:37    Post subject: Reply with quote
Thank you for the great simple explanation

Let me add another twist to this equation, my parents would also like to connect to see our vacation home cameras....can I add a second client at their house and then all three of us can see each other's cameras?

I assume I need a different 192.168.X.XX address range for each home so they VPN connection and the local connections don't conflict with each other?

I'll look at Wireguard...
jwadsley
DD-WRT Novice


Joined: 20 Aug 2021
Posts: 15

PostPosted: Sat Aug 21, 2021 14:43    Post subject: Reply with quote
kernel-panic69 wrote:
We don't know what Asus router you have that is running stock (or RMerlin / AsusWRT-Merlin) or other details. Specific information is quite helpful for us to help you.


My Asus Router is RT-AC87R and I believe from looking at the log VPN is 2.4.7?

OpenVPN 2.4.7 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 1 2021
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sat Aug 21, 2021 15:01    Post subject: Reply with quote
2.4.7 had some minor security issues, I would upgrade but that is just me it is not terribly important.

You can tie everything together So one server and multiple clients which can see each other.

It is not easy especially if you use different builds i.c. firmwares

and yes everything has to be on a different subnet.

Maybe not everyone will agree but setting this up with WireGuard is easier.
In the WireGuard Advanced setup guide is an example of a 3 way site-to-site setup.

But it is certainly possible also with OpenVPN.

Unfortunately I am rather busy but I am certain @eibgrad will chime in or one of the other Guru's if you need help with OpenVPN (@eibgrad is our "numero uno" in OpenVPN)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum