On Jan 22, 2007, at 12:11 PM, Rob Terhaar wrote:

On 1/19/07, Ronald L. Rosson Jr. <[EMAIL PROTECTED]> wrote:

I am running snapshot 2007-01-18 image on a 4801-60. I have attempted to configure openvpn on in pfsense to allow me when away from home to connect
to my home network using openvpn.
I have it working when I perform the routing portion in my up script, and statically assign myself an IP with my connection. So to make my setup more
dynamic I have populated the options filed with the following line:

push "route 192.168.1.0 255.255.255.0" ; push "dhcp-option DNS 192.168.1.1"
; push "dhcp-option DOMAIN oneinsane.org"

But I do not seem to get an IP and my up script that uses "scutil --dns"
(Yes I am on OSX) complains that there is "no dhcp-option DOMAIN"

Any ideas

are you using an old version of the client? the push "dhcp-option DOMAIN
xxx.com" is exactly what i have in my production system.

I'm supporting only windows-based clients though... might be dif. w/ osx?

I was using version 2.0.9. Found the problem from trial and error. You can only pull dhcp-options if you use tls-client. This means you can not use a shared key and expect to get items pushed to the client connecting.

Once I converted from shared secret to PKI all is working smoothly. ;-)

-Ron


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to