Svdrphosts.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
Zeile 23: Zeile 23:
  
 
127.0.0.1            # always accept localhost
 
127.0.0.1            # always accept localhost
#192.168.100.0/24    # any host on the local net
+
#192.168.100.0/24    # any host on the local net (192.168.100.XXX)
 +
192.168.0.0/16        # any host on the local net (192.168.XXX.XXX)
 
#204.152.189.113      # a specific host
 
#204.152.189.113      # a specific host
 
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)
 
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)
</pre>
 
}}
 
 
==Beispiele==
 
===gen2vdrAE===
 
{{Box Datei | /etc/vdr/svdrphosts.conf|
 
<pre>
 
 
#
 
# 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
 
</pre>
 
}}
 
 
===yavdr 0.4.0 ab pre2===
 
{{Box Datei | /etc/vdr/svdrphosts.conf|
 
<pre>
 
#################################################################################
 
#                                                                              #
 
#  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!)
 
 
 
</pre>
 
</pre>
 
}}
 
}}
  
 
[[Kategorie:Konfigurationsdateien]]
 
[[Kategorie:Konfigurationsdateien]]

Aktuelle Version vom 10. August 2013, 10:15 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 (192.168.100.XXX)
192.168.0.0/16        # any host on the local net (192.168.XXX.XXX)
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)