How to use IP received from VPN Server to access internal network

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
lonelycaptain
Posts: 1
Joined: Fri Jan 08, 2021 1:35 pm

How to use IP received from VPN Server to access internal network

Post by lonelycaptain » Fri Jan 08, 2021 2:16 pm

Hello everyone, happy new year.
I am working on the setup of this network as follow:
An AWS EC2 SoftEther VPN Server that has Internet IP address of 175.41.157.xxx that a client can access via the Internet. After the user login into the VPN Server, they will be assign an IP inside the range of: 192.168.10.2 - 192.168.10.253 /24 ; DNS: 172.31.20.10. For example: 192.168.10.2
The default gateway will be 192.168.10.1; the server has another interface that connects to internal network of 172.31.20.0/24, the interface has an IP of: 172.31.20.5
Inside the said network of 172.31.20.0/24 is an DNS Server (172.31.20.10) which was built to do the filtering.

The problem is that all queries that hit the DNS Server have been made using the interface IP of 172.31.20.5 (the interface of the VPN Server into the internal network).

Is there anyway that I can config VPN Server to use the client IP of 192.168.10.2 to access the DNS Server of 172.31.20.10 ?

Thank you very much.

Post Reply