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

[Openvpn-users] redirect-gateway def1 not working - --route-gw or --ifconfig missing


  • Subject: [Openvpn-users] redirect-gateway def1 not working - --route-gw or --ifconfig missing
  • From: Torsten Krah <tkrah@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 18 Jun 2007 14:30:06 +0200

dev tap3
local 192.168.7.1
port 1195
proto udp
ifconfig 10.1.100.1 255.255.255.0
ifconfig-pool 10.1.100.2 10.1.100.100
mode server
tls-server
dh dh2048.pem
ca cacert.pem
cert server.crt
key server.key
tun-mtu 1500
mssfix 1400
comp-lzo
tls-auth /etc/openvpn/wireless.key 0
chroot /etc/openvpn/newroot
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 60
verb 4
crl-verify /etc/ssl/crls/crl.pem

management localhost 7508

ifconfig-pool-persist ipp-vpnguests.txt
client-config-dir ccd-vpnguests
push "redirect-gateway def1"
push "route 10.1.1.0 255.255.255.0 10.1.100.1"
push "dhcp-option DNS 10.1.100.1"
push "dhcp-option DOMAIN mydomain"


Thats the config file - the dns server gets pushed, but domain suffix
and gateway setting does not work.

Message on the client is:

Unable to redirect default gateway -- VPN gateway parameter
(--route-gateway or --ifconfig) is missing.

Can anyone see what i've done wrong?

Torsten

Attachment: smime.p7s
Description: S/MIME cryptographic signature