openvpn

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Benutzeravatar
Voyager_MP
Beiträge: 628
Registriert: 22.06.2004 10:04:07
Wohnort: Aachen

openvpn

Beitrag von Voyager_MP » 07.07.2004 15:11:12

Hi, I'm running openvpn on sarge, the problem is that when a clients connects I want to offer him a dhcp package, so that I dont have to give statik ip's
Is there a way ?


Server config:
-----------------------
dev tap
ifconfig 10.10.0.1 255.255.255.0
link-mtu 1544
secret /etc/openvpn/vpn.key


client config:
---------------------
dev tap
remote bla.dyndns.net
ifconfig 10.10.0.2 255.255.255.0
route-gateway 10.10.0.1
redirect-gateway
link-mtu 1544
secret /etc/openvpn/vpn.key
ping-restart 60
ping timer-rem
persist-tun
persist-key
resolv-retry 86400

Antworten