Hello,
I'm using OpenVPN 1.6.0rc3 on many computers and it works well. The only
problem is that, if linux client machine wants to get address by DHCP.
If i put dhcpcd (dhcp client) line into home.up script like that:
ifconfig tap0 up
dhcpcd -R tap0
dhcpcd is trying to get an IP address from server but server don't see
any request.
If i put only "ifconfig tap0 up" line, and start dhcpcd manually from
console after start of OpenVPN everything is OK.
Is anybody know, why it doesn't work ?
my configs:
server (Linux 2.4.25):
inetd nowait
proto tcp-server
dev tap
ifconfig-noexec
tls-server
up /etc/openvpn/scripts/server.up
dh /etc/openvpn/private/dh1024.pem
ca /etc/openvpn/private/ca.crt
cert /etc/openvpn/private/server.crt
key /etc/openvpn/private/server.key
user nobody
group nobody
ping 15
comp-lzo
verb 3
crl-verify /etc/openvpn/banned.pem
clients (Linux 2.2.25/2.4.26/2.6.4):
dev tap
proto tcp-client
remote <gate IP>
up ./home.up
up-delay
tls-client
ca ca.crt
cert Sebastian_Wasilewski.crt
key Sebastian_Wasilewski.key
port 5000
comp-lzo
ping 15
ping-restart 45
verb 1
connect-retry 20
Thanks for any help.
Sebastian
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|