Configure a specific MAC Address to a designated IP Address
Posted: Tue May 24, 2011 7:32 pm
I have the central OpenVPN server (The server which all of the other OpenVPN servers connect) configured to negotiate with all end point via MAC address since a lot of the end points will have dynamic external addressing.
In having this configured the Master OpenVPN will assign the IP of the end point OpenVPN.
I want to be able to designate what that IP address is based on MAC address. This way the IP stays the same on the end point every time the tunnel is established.
SO
OPENVPN (Endpoint) X (x being the external facing interface) ISP Router <<<<<INT>>>>> OpenVPN (Master)
Reading through the conf file I found this
# EXAMPLE: Suppose you want to give
# Thelonious a fixed VPN IP address of 10.9.0.1.
# First uncomment out these lines:
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
# Then add this line to ccd/Thelonious:
# ifconfig-push 10.9.0.1 10.9.0.2
Where is the ccd directory?
How does the openvpn or where do I tell OpenVPN who or what Thelonious's MAC is?
If ccd should be in /etc/openvpn it is not there.
In having this configured the Master OpenVPN will assign the IP of the end point OpenVPN.
I want to be able to designate what that IP address is based on MAC address. This way the IP stays the same on the end point every time the tunnel is established.
SO
OPENVPN (Endpoint) X (x being the external facing interface) ISP Router <<<<<INT>>>>> OpenVPN (Master)
Reading through the conf file I found this
# EXAMPLE: Suppose you want to give
# Thelonious a fixed VPN IP address of 10.9.0.1.
# First uncomment out these lines:
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
# Then add this line to ccd/Thelonious:
# ifconfig-push 10.9.0.1 10.9.0.2
Where is the ccd directory?
How does the openvpn or where do I tell OpenVPN who or what Thelonious's MAC is?
If ccd should be in /etc/openvpn it is not there.