Server configuration
- IP address: 132.x.x.5/27
- Hostname: server.somedomain.net
- LDAP server (ports blocked in company firewall, only accessible from company LAN)
- OpenVPN server (port 1194/UDP opened in company firewall, uses 10.8.0.1/24 to assign IPs to connecting clients)
- Route "132.x.x.0/27 gateway=<tun adapter>" is added to my routing table
- I can access any host behind the company firewall through the OpenVPN tunnel by using its public IP or hostname
- Route "132.x.x.0/27 gateway=<tun adapter>" is added to my routing table
- Additionally, route "132.x.x.5/32 gateway=<ethernet adapter>" is added to my routing table
- I can access almost any host behind the company firewall through the OpenVPN tunnel by using its public IP or hostname
- Trying to access the LDAP server using its public IP or hostname does not use the OpenVPN tunnel, it uses the normal internet gateway and gets blocked by the company firewall
- I can still access the LDAP using IP 10.8.0.1, but authentication fails because the SSL certificate is issued to "server.somedomain.net" and not to "10.8.0.1"