Posted: Mon Jul 02, 2018 10:58 Post subject: OpenVPN Client + Server WRT1200AC
I´m running Build: DD-WRT v3.0-r36168 std (06/20/1 on my Linksys Wrt1200AC.
I have both the OPENvpn client (AirVPN) and the OPENVPN server (own) running successfully.
I connect exclusively via the Ovpn server with my router and can then access all the machines in my home network.
If I activate the OpenVPN client, I can continue to access the router itself (policy based routing), but can´t reach my PC in the LAN via RDP (the PC is rooted through the client tunnel).
How can I access my PC's in the home network via RDP when the OVPN Client + Server is activated?
My iptables Rules (I use only that for accessing OPENVPN-Server):
There are no further ports forwarded, because I come exclusively via the VPN server tunnel into my home network and that´s working fine. I only need a solution to RDP through the OVPN-Server into a machine at my local Network wich is brouted through the OVPN-client (AirVPN).
Try Eibgrad's table10 workaround. Just dump the code from the link below (all of it) in your startup scripts and restart to router.
Code from here: https://pastebin.com/YwnHLqaa
More info here: http://svn.dd-wrt.com/ticket/5690
I have absolutely no firewall rules set and everything works as expected. Connected from my phone to the home network, I have access to all my home devices (including a pihole filtering adds) and exist through the mullvad tunnel.
I doubt you need anything else but the killswitch in your firewall.
Make sure the router IP is not in PBR. You might want to comment the debug line in the scrip above, otherwise will flood your logs (if you have those enabled). I tried to change the MAX_PASS variable to a 5, but after a while table 10 gets back to WAN only. So now I just let it run every minute.
Hope this helps!
cheers
WRT1900ACSv1: 36247
OpenVPN server and client (with PBR), samba, entware (from esata ssd), static leases, access restriction etc..
Oh man, that was very helpful. This was what i needed. I was searching over a year for a solution. Now all works fine. Thank you very much you saved my day .