Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

The whole setup works standalone, ex: openvpn --config /etc/openvpn/openvpn.conf, remote can ping server, and server can ping the remote

When I start the server with --daemon, the remote client can ping the server and the network behind the server, but the server cannot ping the remote.

Intermediate network:

server's openvpn.conf:

mode server

### network options
port 1194
proto udp
dev tun

### Certificate and key files
ca /etc/easy-rsa/keys/ca.crt
cert /etc/easy-rsa/keys/server.crt
key /etc/easy-rsa/keys/server.key
dh /etc/easy-rsa/keys/dh1024.pem

#push "redirect-gateway def1"
push "route"
push "dhcp-option DNS" # Change this to your router's LAN IP Address

client-config-dir ccd

ifconfig-pool-persist ipp.txt

### (optional) compression (Can be slow)

verb 3
keepalive 10 120

The host is learned after the client connects and shows in logs, when not running as daemon.



Both hosts are on OpenWRT on a TPLink WR-1043ND. Remote host is connected via internet.


The "daemon" doesn't learn the route to 10.20.3.x, as it does when running it directly from the commandline


OpenVPN 2.1.4 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Nov 14 2011
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc.


I built a vm with this version:

Mon Jul 16 16:49:58 2012 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Mar 30 2012

same issue :S

share|improve this question
I could use nohup but there's no build for my arhcitecture – Sirber May 11 '12 at 12:24

1 Answer 1

up vote 0 down vote accepted


client-config-dir needed a full path

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.