I'm currently using OpenVPN and is working fine but I need to lease private IP address from the DHCP server.
The DHCP server is also acting as the gateway inside my LAN with IP address 10.0.0.1.
What I need to configure to allow the OpenVPN server have the DHCP server lease IP addresses on the 10.0.0.0 range to the OpenVPN clients?
This is my current ifconfig output:
(22.214.171.124 is the public IP)
inet addr:126.96.36.199 Bcast:188.8.131.52 Mask:255.255.240.0
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask: 255.255.255.0
inet addr:127.0.0.1 Mask:255.0.0.0
inet addr: 172.16.0.1 P-t-P:172.16.0.2 Mask:255.255.255.255