Hi,

I have a setup where a client connects to a VPN server and then tries to
connect to a backend server through the OpenVPN tunnel.
So, if I try reaching out to the backend server from my client, the request
goes through the VPN server machine via the tunnel.
Is there a way to get the IP address of the backend server in the source
code, when a client is trying to get connected to one? Is there a way to
read the destination IP address of the final backend machine after the
packet is decapsulated and decrypted at the VPN server end?
Can it be done through the OpenVPN source code? If yes, please let me know?
If no, what alternatives are there?

Thanks in advance.
-- 
Regards
Shubham Chauhan

Reply via email to