Cant connect to RDP via OpenVPN

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Krimson
OpenVpn Newbie
Posts: 2
Joined: Tue Feb 13, 2024 8:46 am

Cant connect to RDP via OpenVPN

Post by Krimson » Tue Feb 13, 2024 8:50 am

Hi all.

hope this is the right place to post this.

I am setting up openvpn for a mac user. The vpn is used to RDP to a server. We do have other Macs as well who connect fine. I have download Openvpn and imported the config. But when i try to connect via RDP, i get an error code 0x204. Googled it and have tried the applicable fixes. No joy.

i also saw that for Vpn's in general that the vpn should be ordered above Wifi when going to System Settings>Network. However, i do not get Openvpn in this list and cant seem to add it.

Any help would be appreciated!

Portal_Daemon
OpenVpn Newbie
Posts: 2
Joined: Wed Sep 25, 2024 12:52 pm

Re: Cant connect to RDP via OpenVPN

Post by Portal_Daemon » Wed Sep 25, 2024 12:53 pm

Hello there!

I have the same problem (

Portal_Daemon
OpenVpn Newbie
Posts: 2
Joined: Wed Sep 25, 2024 12:52 pm

Re: Cant connect to RDP via OpenVPN

Post by Portal_Daemon » Mon Sep 30, 2024 3:26 pm

Hi!

Here is the solution of this problem: https://habr.com/ru/articles/272461/
You have to add route to your server for VPN traffic

Code: Select all

sudo /sbin/route add -host 192.168.0.20 -interface ppp0
192.168.0.20 - server IP
ppp0 - VPN interface (ifconfig may helps to see which one exactly )


Have a nice day!

Post Reply