mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-13 09:18:13 +01:00
ipv6: small variable updates
This commit is contained in:
parent
c412619d40
commit
2bea8f2de7
@ -6,6 +6,7 @@
|
|||||||
- TURN server included
|
- TURN server included
|
||||||
- Fully automated HTTPS certificates
|
- Fully automated HTTPS certificates
|
||||||
- Runs on almost any major linux distributon (Debian, Ubuntu, CentOS,...)
|
- Runs on almost any major linux distributon (Debian, Ubuntu, CentOS,...)
|
||||||
|
- Full IPv6 support
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
1. Install docker-ce & docker-compose
|
1. Install docker-ce & docker-compose
|
||||||
|
@ -32,9 +32,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
DOMAIN: ${DOMAIN}
|
DOMAIN: ${DOMAIN}
|
||||||
EXTERNAL_IPv4: ${EXTERNAL_IPv4}
|
EXTERNAL_IPv4: ${EXTERNAL_IPv4}
|
||||||
EXTERNAL_IPv6: ${EXTERNAL_IPv6}
|
EXTERNAL_IPv6: ${EXTERNAL_IPv6:-::1}
|
||||||
SIP_IP_ALLOWLIST: ${SIP_IP_ALLOWLIST}
|
SIP_IP_ALLOWLIST: ${SIP_IP_ALLOWLIST:-}
|
||||||
NETWORK_INTERFACE: ${NETWORK_INTERFACE:-}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/sip_profiles:/etc/freeswitch/sip_profiles/external
|
- ./conf/sip_profiles:/etc/freeswitch/sip_profiles/external
|
||||||
- ./conf/dialplan_public:/etc/freeswitch/dialplan/public_docker
|
- ./conf/dialplan_public:/etc/freeswitch/dialplan/public_docker
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
iptables -S INPUT | grep "\-\-dport 5060 " | cut -d " " -f 2- | xargs -rL1 iptables -D
|
iptables -S INPUT | grep "\-\-dport 5060 " | cut -d " " -f 2- | xargs -rL1 iptables -D
|
||||||
|
|
||||||
# block requests to 5060 (tcp/udp)
|
# block requests to 5060 (tcp/udp)
|
||||||
iptables -A INPUT -i "$NETWORK_INTERFACE" -p tcp --dport 5060 -s 0.0.0.0/0 -j REJECT
|
iptables -A INPUT -p tcp --dport 5060 -s 0.0.0.0/0 -j REJECT
|
||||||
iptables -A INPUT -i "$NETWORK_INTERFACE" -p udp --dport 5060 -s 0.0.0.0/0 -j REJECT
|
iptables -A INPUT -p udp --dport 5060 -s 0.0.0.0/0 -j REJECT
|
||||||
|
|
||||||
# allow some IPs
|
# allow some IPs
|
||||||
IFS=',' read -ra ADDR <<< "$SIP_IP_ALLOWLIST"
|
IFS=',' read -ra ADDR <<< "$SIP_IP_ALLOWLIST"
|
||||||
|
Loading…
Reference in New Issue
Block a user