Skip to content

Commit

Permalink
Remove UPD listener and use recommended blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Sando authored and sando38 committed Sep 11, 2022
1 parent 0b689be commit b37f2cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
6 changes: 1 addition & 5 deletions eturnal/rootfs/usr/sbin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
cat > /opt/eturnal/etc/eturnal.yml <<EOF
eturnal:
listen:
-
ip: "::"
port: 3478
transport: udp
-
ip: "::"
port: 3478
Expand All @@ -18,7 +14,7 @@ eturnal:
blacklist: # This is the default blacklist.
- "127.0.0.0/8" # IPv4 loopback.
- "::1" # IPv6 loopback.
#- recommended # Expands to a number of networks recommended to be
- recommended # Expands to a number of networks recommended to be
# blocked, but includes private networks. Those
# would have to be 'whitelist'ed if eturnal serves
# local clients/peers within such networks.
Expand Down
5 changes: 0 additions & 5 deletions web/rootfs/defaults/turn
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
proxy_pass eturnal:3478;
proxy_protocol on;
}

server {
listen 3478 udp;
proxy_pass eturnal:3478;
}
{{ end }}
{{ if .Env.TURNS_HOST }}
map $ssl_preread_server_name $name {
Expand Down

0 comments on commit b37f2cd

Please sign in to comment.