Update various configs & ports
This commit is contained in:
parent
68afb6352c
commit
d132e78e51
5 changed files with 17 additions and 10 deletions
|
|
@ -93,13 +93,19 @@ input {
|
|||
# blocks. Setting this block is optional, though the server will only attempt
|
||||
# autodetection for one sound card.
|
||||
#
|
||||
{% for peer, properties in vpn_peers.items() %}
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "Pulse remote {{ peer }}"
|
||||
server "{{ properties.ip }}"
|
||||
type "httpd"
|
||||
name "HTTP Stream"
|
||||
encoder "opus"
|
||||
port "{{ mpd_http_stream_port }}"
|
||||
bind_to_address "{{ vpn_listen_address }}"
|
||||
bitrate "128000"
|
||||
format "48000:16:1"
|
||||
always_on "yes"
|
||||
max_clients "0" # optional 0=no limit
|
||||
}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
#
|
||||
# Character Encoding ##########################################################
|
||||
|
|
|
|||
|
|
@ -30,5 +30,6 @@ table ip filter {
|
|||
iifname "{{ vpn_interface }}" tcp dport {{ transmission_web_port }} ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "Transmission Web"
|
||||
iifname "{{ vpn_interface }}" tcp dport { {{ syncthing_gui_port }}, {{ syncthing_protocol_port }} } ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "Syncthing"
|
||||
iifname "{{ vpn_interface }}" tcp dport {{ mpd_port }} ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "MPD"
|
||||
iifname "{{ vpn_interface }}" tcp dport {{ mpd_http_stream_port }} ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "MPD HTTP stream"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<!-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} -->
|
||||
|
||||
<!-- TODO: update syncthing client IP's. These should be set to their VPN ip addresses (e.g. 10.0.0.x) instead of dynamic -->
|
||||
<configuration version="32">
|
||||
<folder id="Pictures" label="Pictures" path="{{ syncthing_picture_folder }}" type="sendreceive" rescanIntervalS="60" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
|
||||
<filesystemType>basic</filesystemType>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue