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>
|
||||
|
|
|
|||
|
|
@ -10,17 +10,19 @@ https_port: 443
|
|||
ssh_port: 39901
|
||||
|
||||
mpd_port: 21000
|
||||
nfs_port: 2049
|
||||
mpd_http_stream_port: 8000
|
||||
|
||||
gitlab_ip: '127.0.0.1'
|
||||
gitlab_port: '9090'
|
||||
gitlab_ssh_port: '22'
|
||||
|
||||
newsreader_ip: '192.168.178.63'
|
||||
|
||||
sentry_ip: '127.0.0.1'
|
||||
sentry_port: '9000'
|
||||
|
||||
gitlab_ssh_port: '22'
|
||||
syncthing_gui_port: 8384
|
||||
syncthing_protocol_port: 22000
|
||||
|
||||
radicale_listen_addres: '127.0.0.1'
|
||||
radicale_port: 5232
|
||||
|
|
|
|||
|
|
@ -1,5 +1,2 @@
|
|||
syncthing_gui_port: 8384
|
||||
syncthing_protocol_port: 22000
|
||||
|
||||
syncthing_file_folder: '{{ ansible_env.HOME }}/files/Sync/'
|
||||
syncthing_picture_folder: '{{ ansible_env.HOME }}/files/Pictures/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue