Svdrphosts.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Beispiele)
Zeile 1: Zeile 1:
Konfigurationsdatei von VDR.
+
Die svdrphosts.conf ist eine Konfigurationsdatei von VDR. In dieser Datei wird angegeben, welche IP-Adressen und IP-Adressbereiche [[SVDRP]]-Verbindungen zu VDR aufbauen dürfen.
 +
 
 +
Der Aufbau der [[svdrphosts.conf]] ist zeilenweise wie folgt:
 +
IP-Adresse[/Netzmaske]
 +
 
 +
Je Zeile werden erlaubte Host-IPs oder IP-Bereiche {{wikipedia|Netzmaske}} eintragen. Beispiel für alle IP Adressen von ''192.168.0.1'' bis ''192.168.0.254'':
 +
192.168.1.0/24
 +
 
  
 
{{Box Datei | [[Struktur|$VDRCONFIG]]/svdrphosts.conf|
 
{{Box Datei | [[Struktur|$VDRCONFIG]]/svdrphosts.conf|
Zeile 12: Zeile 19:
 
#
 
#
 
# Syntax:
 
# Syntax:
#
 
 
# IP-Address[/Netmask]
 
# IP-Address[/Netmask]
 
#
 
#

Version vom 10. August 2013, 10:13 Uhr

Die svdrphosts.conf ist eine Konfigurationsdatei von VDR. In dieser Datei wird angegeben, welche IP-Adressen und IP-Adressbereiche SVDRP-Verbindungen zu VDR aufbauen dürfen.

Der Aufbau der svdrphosts.conf ist zeilenweise wie folgt:

IP-Adresse[/Netzmaske]

Je Zeile werden erlaubte Host-IPs oder IP-Bereiche Netzmaske eintragen. Beispiel für alle IP Adressen von 192.168.0.1 bis 192.168.0.254:

192.168.1.0/24


Datei
$VDRCONFIG/svdrphosts.conf
#
# svdrphosts    This file describes a number of host addresses that
#               are allowed to connect to the SVDRP port of the Video
#               Disk Recorder (VDR) running on this system.
#
#               Gehört ins Konfigurationsverzeichnis des VDR, per Default also /video
#               ( bzw "-c /Verzeichnis" Option beim vdr start
#
# Syntax:
# IP-Address[/Netmask]
#

127.0.0.1             # always accept localhost
#192.168.100.0/24     # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)


Beispiele

gen2vdrAE

Datei
/etc/vdr/svdrphosts.conf

#
# svdrphosts    This file describes a number of host addresses that
#               are allowed to connect to the SVDRP port of the Video
#               Disk Recorder (VDR) running on this system.
# Syntax:
#
# IP-Address[/Netmask]
#

127.0.0.0/24          # always accept localhost

#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)
192.168.0.0/16   # local subnet


yavdr 0.4.0 ab pre2

Datei
/etc/vdr/svdrphosts.conf
#################################################################################
#                                                                               #
#   The following configuration file is generated automatically by the yaVDR    #
#     system. Don't change this file as every update of yaVDR will overwrite    #
#         the local changes. Instead put your required customizations           #
#       into /etc/yavdr/templates_custom/ based on the original templates       #
#                      under /usr/share/yavdr/templates.                        #
#                                                                               #
#            http://www.yavdr.org/developer-zone/template-overview/             #
#                                                                               #
#                                                                               #
#################################################################################
#
# svdrphosts    This file describes a number of host addresses that
#               are allowed to connect to the SVDRP port of the Video
#               Disk Recorder (VDR) running on this system.
# Syntax:
#
# IP-Address[/Netmask]
#

127.0.0.0/24          # always accept localhost
192.168.0.0/16        # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)