PF 2 OpenVpn how to set client static ip (CSC)
-
Dear All,
I have OpenVpn server set on 2.0-BETA5 (i386) built on Sun Dec 26 , i need to set to one of our clients specific ip address without receiving from Dynamic IP.
I was suggested to search for CSC (client-specific config) but i didn't really found any how to manual to set it.
Please advice
Thanks
-
See attached. When you add a CSC/CSO (Not sure why the tab name was changed, it's now Client Specific Overrides in the GUI) just put in the client's certificate/username and put a specific /30 net inside of the tunnel network you setup on the main OpenVPN page.
For more info on how OpenVPN assigns IPs out of that /30 (Null route, server IP, client IP, broadcast IP) see here:
http://openvpn.net/index.php/open-source/faq/77-server/273-qifconfig-poolq-option-use-a-30-subnet-4-private-ip-addresses-per-client-when-used-in-tun-mode.html
-
See attached. When you add a CSC/CSO (Not sure why the tab name was changed, it's now Client Specific Overrides in the GUI) just put in the client's certificate/username and put a specific /30 net inside of the tunnel network you setup on the main OpenVPN page.
For more info on how OpenVPN assigns IPs out of that /30 (Null route, server IP, client IP, broadcast IP) see here:
http://openvpn.net/index.php/open-source/faq/77-server/273-qifconfig-poolq-option-use-a-30-subnet-4-private-ip-addresses-per-client-when-used-in-tun-mode.htmlThanks Jimp :)