[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenVPN und static IPs machen mich kirre



Michael Meyer schrieb:
,--[ man openvpn ]
| --ifconfig-pool-persist file [seconds]
|      Persist/unpersist ifconfig-pool data to file, at seconds  intervals
|      (default=600), as well as on program startup and shutdown.
|
|      [...]	
|
|      Note  that  the entries in this file are treated by OpenVPN as sug-
|      gestions only, based on past associations between a common name and
|      IP  address.  They do not guarantee that the given common name will
|      always receive the given IP address.  If you  want  guaranteed  as-
|      signment, use --ifconfig-push
`---|

Erstmal Danke für den Auszug.

Allerdings steht da auch das man den auch als Konfigfile benutzen kann, natürlich unter Beachtung des von dir zitiertem, wenn man seconds auf 0 setzt, zumindest wenn mich mein Englisch grad nicht trügt.

man openvpn:
       --ifconfig-pool-persist file [seconds]
If seconds = 0, file will be treated as read-only. This is use‐
ful if you would like to treat file as a configuration file.

1.) Wieso klappt das mit tap-Devices jedoch schlecht mit tun-Devices (per ipp.txt). Irgend eine Idee?

2.) Wie hat der Eintrag in der Datei unter ccd/(CommonName_der_Zertifikates) auszusehen?
mit: ifconfig-push IP
komme ich irgendwie nicht weiter. Die IP wird dann immer noch dynamisch gesetzt...


HTH

Micha

Grüße

Michael


Reply to: