|
From: Patrick <ope...@pu...> - 2008-05-28 12:28:59
|
Hi, Openvpn newbie here. I have the config below on the openvpn server (version 2.1 on a Fedora Core 7 box) and the client is a Fedora 9 laptop. The vpn works fine. One thing I could not figure out: how do I assign static IP address to clients? port 1194 proto udp dev tun cipher AES-256-CBC auth SHA1 tls-cipher DHE-RSA-AES256-SHA tls-auth ta.key 0 ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/server.crt key /etc/openvpn/easy-rsa/keys/server.key dh /etc/openvpn/easy-rsa/keys/dh2048.pem server 10.0.1.0 255.255.255.0 ifconfig-pool-persist /etc/openvpn/ipp.txt push "dhcp-option DNS 10.0.0.100" push "dhcp-option DOMAIN testbox.local" push "dhcp-option SEARCH vpn.testbox.local" keepalive 10 120 comp-lzo user nobody group nobody persist-key persist-tun log-append /var/log/openvpn/openvpn.log verb 4 Thanks for any tips. Regards, Patrick |