i want to create an openVPN architecture und i do not really know how have to configurate it.
I have an openVPN-Server and an Mail-Server in one Network which are connected with my router. And i want that multiple Clients have access over the vpn to my mail-server. I have already created certificates with easy rsa und set Portforwarding in my Router to the openVPN-Server. The Clients should only have access to the mail server and not to the rest of my network and to the web. The Mail-Server has not OpenVPN and is therefor not in the VPN-Network.
Is it possible to realize this scenario?
I have read a book which shows an exmaple of a multi client network.
server 192.168.10.0 255.255.255.0
push "route 192.168.1.0 255.255.255.0"
remote 18.104.22.168 #ext ip of server
How can i add a route the mail-server?