evors Hi all! How can I configure openvpn that different clients could use different DHCP servers? For example: the client "A" gets dhcp-server 192.168.164.5, but the client "B" has to get dhcp-server 192.168.2.1 (it is native dhcp-server to client "B"). If you need more information, please tell me about it, I'll try give it. Thanks. Sorry for my english, I'm just learning )
george If you need to assign clients IP addresses on different subnets, use ccd files: http://openvpn.net/index.php/open-source/documentation/howto.html#policy
evors Not quite, I need that client "B" could resolve DNS-name on his subnet and "A" could resolve other subnet. Is it possible?
Mimiko Are you talking about DHCP or DNS? First you saied about getting IP from DHCP, now about DNS. Draw a sketch about what you really want, please.
evors I really sorry if I confused you. DNS server to subnet is gotten by DHCP, then I need use different DHCP-servers for different subnets. Now I have decision: add string "dhcp-option DNS 192.168.2.5 " to client's config (client "B" in my example). Thank you for help.