Author
Message
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Posted: Sat Jan 15, 2022 12:51 Post subject: [SOLVED] Oracle Cloud Free VPN Server - DDWRT client
Hello
I followed this very useful video https://www.youtube.com/watch?v=E-CLtExRzX8&ab_channel=IdeaSpot and I set up a free VPN server on Oracle Cloud, it works perfectly by connecting with my Windows machine.
I would like to set up the client on the DDWRT router, but I can't find a way to check with parameters are used and were to find the CA key.
Has someone did something similar?
Back to top
Sponsor
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Back to top
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Posted: Sat Jan 15, 2022 16:39 Post subject:
Thank you for the quick reply.
In the webpage for the Oracle OpenVPN, there is no way to download the ovpn file, so I am not sure how to proceed, moreover I see that the CA cert is required, but I don't know how to get it, I did not create it in the configuration of the VM/VPN.
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Back to top
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Back to top
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Posted: Wed Jan 19, 2022 18:28 Post subject:
It depends on the definition of fun
I am getting old to do these things... ha ha.
I still have one question:
I am thinking of creating 2 Wifi: 1 with VPN access and 1 without VPN access.
How can I redirect the traffic based on the wifi I am connected to?
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Back to top
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Posted: Fri Jan 28, 2022 13:38 Post subject:
You are the best, thank you... solved Last edited by MatteoDubai on Fri Jan 28, 2022 14:20; edited 1 time in total
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Posted: Fri Jan 28, 2022 14:07 Post subject:
The interface has to be unbridged to work.
Alternatively just use the IPaddress/netmask, my main router is 192.168.4.1/24, wl0.1 is on 192.168.14.1/24
I can (instead of iif wl0.1) add 192.168.14.0/24 in the PBR field
I will add in the guide that the interface has to be unbridged (obvious for me but of course not for everybody) _________________ 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
Back to top
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Posted: Fri Jan 28, 2022 14:21 Post subject:
I stand corrected, the laptop works fine, but if I try to connect the phone, it does not work. I receive the IP, but I am told that there is no internet connection, like the DNS are not working, this is strange, because from the laptop it works perfectly.
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Back to top
MatteoDubai DD-WRT Novice Joined: 17 Feb 2021 Posts: 34
Posted: Fri Jan 28, 2022 14:53 Post subject:
I followed it, but now via the Wifi VPN I can browse, but when I am connected via ethernet or via the other wifi there is no connection and it does not browse the net.
I did not change anything else... should every AP be unbridged?
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12835 Location: Netherlands
Posted: Fri Jan 28, 2022 18:51 Post subject:
No not every interface should be unbridged.
You have been tinkering a lot sometimes the best option is to reset to defaults and start fresh.
Take note you are also controlling the server, do you push DNS servers?, do you push default routes etc.?
Have you set up regular DNS the right way, there are a lot of variables in play here?
There is a document about VPN and DNS which you might need: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=331017
What you are doing requires intermediate to advanced networking skills.
I have it working (with an unbridged wlan1.1 on PBR on my R7800) with my Oracle cloud setup, but I am pushing default routes and DNS servers etc. and have some networking skills
if the iif is not working (it needs the interface to be available and some routers do restart a lot and the interface might not be available when the routing kicks in) you can always use the subnet of the VAP
Have fun _________________ 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
Back to top