i want to have my DHCP server assign IPs to clients connecting over the vpn. i am using TAP mode, and have the tap0 interface bridged to the appropriate ethernet interface. brctl shows both interfaces on br0. i keep getting this error in the logs:
no dynamic or static remote --ifconfig address is available for
and no ip is assigned to the client. no entries show up in the dhcp server logs, so the request does not even seem to be making it out at all.
server config:
mode server
tls-server
port 1194
proto udp
dev tap
ca ca.crt
cert vpn.crt
key vpn.key
dh dh2048.pem
cipher AES-256-CBC
push "redirect-gateway def1"
keepalive 10 120
comp-lzo
user nobody
group nobody
ping-timer-rem
persist-tun
persist-key
verb 4
mute 20
client config:
client
dev tap
proto udp
remote vpn.bpk2.com
resolv-retry infinite
keepalive 10 120
ping-timer-rem
persist-tun
persist-key
ca ca.crt
crt host.crt
key host.key
remote-cert-tls server
cipher AES-256-CBC
pull
comp-lzo
verb 4
mute 20
explicit-exit-notify 2
do i have a mis-match on some of my config directives? the service starts fine, but the client connection does not get an IP assigned.