Hello.
I need help conecting a OpenVPN client to a VPS OpenVPN Server.
My objetive is have internet access using OpenVPN to tunnel all traffic from TPLink Archer A7 with OpenWRT installed, from a intranet.
This is my network schema. and Goal..
INTERNET - Internet on VPS - ISP Wifi - Captive Portal - Ubiquiti Nano M5 - OpenWRT TPLink Archer A7 OpenVPN Client - My PC and Android Cells.
I was make many test and be able to connect to internet using my network schema, but using OpenVPN Client on all devices connected to TPLink Archer Openwrt router,, i wish use only one OpenVPN Client inside the TPLink Archer router.
Any help will be appreciated. Thanks .
******* - First Issue solved, thanks all for help. - ****** Thanks @charliev
2th Part Issue - I be behind a Captive Portal. I configured OpenWRT router as Dumb AP at *** First Config *** WAN interface eliminated, LAN static ip pointing to Router Nano M5 giving DHCP, conected to LAN Port, here all Good, any device conected to OpenWRT router, have Captive Portal or internet access, when one device used to Push User/Password. ... i have two accounts, intranet and internet. Using intranet ,cheap price, tunneling to VPS give Internet access.
Issue - Dumb AP Config changed for OpenVPN Config ... no more Captive Portal in any device ... i must change pc LAN ip and put Nano M5 in LAN port on OpenWRT router to see again Captive Portal, then Connect to intranet,,, Real Issue - Change again pc LAN ip and put Nano M5 in WAN port on OpenWRT router. Result .. Internet access.
Question 1 - There is a OpenWRT config , that show Captive Portal like in Dumb AP mode and ABLE use OpenVPN tunneling at Same Time ??? or Question 2 ....
Out off OpenWRT - Network General Subject.
Question 2 - Using 4 port switch, will eliminated , changing Nano M5 from WAN - to - LAN later LAN - to -WAN. ???
Any HELP is Welcome... Thanks...