Den 25. jan 2005, kl. 15:27, skrev Patrik Lybing:
I got two questions, the first one should be rather easy for you
I use Windows, and Ive so far set the IP, the subnet, and the gateway
the tap device, manually. But if I want to use the DHCP, how do I
read the manual.
You need to configure a pool of ip addresses.
ifconfig-pool 10.8.0.4 10.8.0.255
And you need to tell windows how it's ip is set.
push "dhcp-option NBT 2"
In the configuration; ifconfig iphere subnethere, is clear to me.
But it is the route option Im wondering about.
You tell it to route with the opposite end of the tunnel as the gateway.
So, when your pool assigns you .6 then you use .5 as the gateway.
push "route 172.16.0.0 255.255.0.0 default"
Then it will send it by the right address.
Openvpn-users mailing list