LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OpenVPN (http://www.linuxquestions.org/questions/linux-networking-3/openvpn-202952/)

Voyager_MP 07-09-2004 04:32 AM

OpenVPN
 
Hi,

I just want to assin a winxp client with a dhcp ip address, so I don't have to give a static ip
to every connecting client.

client:
-------
dev tap
remote xxxxx
ifconfig 192.168.130.2 255.255.255.0
ip-win32 dynamic
dhcp-option DNS ...
dhcp-option DOMAIN ...
dhcp-option NTP ...
dhcp-option WINS ...
route-gateway
redirect-gateway
secret vpn.key

server:
-------
dev tap
ifconfig 192.168.130.1 255.255.255.0
link-mtu 1544
secret /etc/openvpn/vpn.key
port 5002


but the client gets always to static ip from ifconfig, If I remove this line, it's not working at all.


All times are GMT -5. The time now is 12:12 PM.