I have a firewall linux box with 4 interfaces:
eth0 184.108.40.206 (to the internet) eth1 192.168.11.2 (Employee subnet) eth2 192.168.22.2 (Guest subnet) eth3 192.168.33.2 (Management subnet)
And I am trying to setup the openvpn server and client in such a way that he connects the client to the right subnet while checking the CN in the certificate.
In such a way:
Employee -> subnet 192.168.11.0 (Employee subnet) Guest -> subnet 192.168.22.0(Guest subnet) Admin -> subnet 192.168.33.0 (Management subnet)
How can I do that?