OpenVN not routing server IP
I have an OpenVPN server configured IP: 10.23.1.0/24
I have enabled the option to redirect all the traffic through the tunnel
All the traffic is correctly redirected through the tunnel except the server itself.
Let's imagine my server public IP is "184.108.40.206" (so the IP of my VPN server).
I connect my computer to the VPN tunnel and I make a traceroute on 220.127.116.11:
As you can see the traffic correctly pass into the tunnel.
But now if I make a traceroute on my server "18.104.22.168":
In this case, the traffic didn't pass into the VPN tunnel.
I need to redirect this traffic because I have some VPN client who has an extra firewall who only allow the communication to my VPN server on the VPN PORT but I also have a website on this server so the client can't connect to the website.
I don't know if I need to edit the configuration of pfSense, server VPN or the client itself.
I hope you'll be able to help me.
You cannot route the servers public IP through the tunnel. That would mean the vpn tunnel would be routed through the tunnel itself. How should that work?
Access the web server by its internal IP. Also you can setup a split DNS and provide it to the vpn clients. So the client get the internal IP when they try to access the web server.