[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-users] Securing *all* traffic over a wireless network - how?

  • Subject: Re: [Openvpn-users] Securing *all* traffic over a wireless network - how?
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Mon, 13 Dec 2004 17:21:52 -0700 (MST)

On Mon, 13 Dec 2004, Louis wrote:

> James,
> Great catch!  I bet that is the problem.  I will contact the m0n0wall 
> OpenVPN maintainer about this, here is what I see on the running FreeBSD 
> server:
> /usr/local/sbin/openvpn --daemon --user nobody --group nobody --verb 1 
> --writepid /var/run/ovpn_srv.pid --dev tun0 --port 5000 --local 
> --max-clients 20 --server --ca 
> /var/db/ovpn_ca_cert.pem --cert /var/db/ovpn_srv_cert.pem --key 
> /var/db/ovpn_srv_key.pem --dh /var/db/ovpn_dh.pem --cipher BF-CBC 
> --duplicate-cn --push redirect-gateway 'local'

> > This looks like a quoting problem.  Try using local by itself without the 
> > single quotes around it.

Try --push "redirect-gateway local" if you are running OpenVPN from the 
shell without a config file.

The important thing is that the "redirect-gateway" and "local" strings be
passed in a single argument to OpenVPN with the space between them
embedded in the argument and with no enclosing quotes.

The shell expansion of

  --push "redirect-gateway local"

should normally do this.


Openvpn-users mailing list