Connection to the VPN Client from the network of Access Server ROUTING

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
AzureBox
OpenVpn Newbie
Posts: 1
Joined: Mon Oct 05, 2020 10:56 pm

Connection to the VPN Client from the network of Access Server ROUTING

Post by AzureBox » Mon Oct 05, 2020 11:23 pm

Dear all,
I have configured an OpenVPN Access Server on Microsoft Azure and on the same network there is a windows machine

Access Server
There is the public (static) address of the 20.61.113.145
and the internal is 10.0.0.5/20

Windows Machine
internal address 10.0.0.4/20

VPN Client network
172.28.224.0/24

These are the configuration of a connected client

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::8561:b59a:9035:392d%16
IPv4 Address. . . . . . . . . . . : 172.28.224.130
Subnet Mask . . . . . . . . . . . : 255.255.255.128
Default Gateway . . . . . . . . . :

I don't get the subnet mask in the beginning. I would have expected 255.255.255.0

From this client I can connect to 10.0.0.4 by NAT

What I would be able to reach is the opposite, that means, being able from 10.0.0.4 machine to RDP the VPN Client.

I have set up in VPN Settings Routing:
Should VPN clients have access to private subnets (non-public networks on the server side)? Yes, using routing
Specify the private subnets to which all clients should be given access (one per line): 10.0.0.0/20

In the user settings:
Select addressing method:Use Routing
Allow Access To these Networks: 10.0.0.0/20
Allow Access From: [checked] all server-side private subnets
Allow Access From: [checked] all other VPN clients

But I cannot connect in any side. The only machine that pings everything is the Access Router that can ping 10.0.0.4 and 172.28.224.130

I have read an article that tries to give instruction:
https://openvpn.net/vpn-server-resource ... e-network/

But I get nowhere.

Anyone was successful in Routing traffic from the OpenVPN Local Network to the the Clients network?

Thanks for any advice,

Matteo

SeanHub
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 23, 2020 4:17 pm

Re: Connection to the VPN Client from the network of Access Server ROUTING

Post by SeanHub » Thu Oct 29, 2020 4:06 pm

Also interested in if anyone knows a good way of doing this. Same problem for AWS, can't seem to connect to any instances even if the appropriate routes are setup in the route table.

Post Reply