Google Cloud Ubuntu 인스턴스에서 Coturn을 실행하려고합니다. /etc/turnserver.conf 나는 개인 키와 인증서 파일을 생성우분투에서 코튼 설정
sudo를 설치 쉽다 coturn 및 업데이트 :
listening-port=3478
tls-listening-port=5349
listening-ip=10.128.0.2
relay-ip=10.128.0.2
external-ip=35.192.224.52/10.128.0.2
lt-cred-mech
userdb=/var/lib/turn/turndb
user=attitudemarketing:password
cert=cert.crt
pkey=private.key
no-stdout-log
모두가 될 것으로 보인다을 새로운 VM에서
사용하여 coturn 설치 실행하지만 난 트리클 아이스하려고하면 https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/를이
를 작동하지 않는 것 그리고이 coturn의 로그 파일입니다
0: log file opened: /var/log/turn_1978_2017-10-12.log
0: pid file created: /var/run/turnserver.pid
0: IO method (main listener thread): epoll (with changelist)
0: Wait for relay ports initialization...
0: relay 10.128.0.2 initialization...
0: relay 10.128.0.2 initialization done
0: relay ::1 initialization...
0: relay ::1 initialization done
0: Relay ports initialization done
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=1 created
0: IPv4. TCP listener opened on : 127.0.0.1:3478
0: IPv4. TCP listener opened on : 127.0.0.1:3479
0: IPv4. TCP listener opened on : 10.128.0.2:3478
0: IPv4. TCP listener opened on : 10.128.0.2:3479
0: IPv6. TCP listener opened on : ::1:3478
0: IPv6. TCP listener opened on : ::1:3479
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=0 created
0: IPv4. TCP listener opened on : 127.0.0.1:3478
0: IPv4. TCP listener opened on : 127.0.0.1:3479
0: IPv4. TCP listener opened on : 10.128.0.2:3478
0: IPv4. TCP listener opened on : 10.128.0.2:3479
0: IPv6. TCP listener opened on : ::1:3478
0: IPv6. TCP listener opened on : ::1:3479
0: IPv4. UDP listener opened on: 127.0.0.1:3478
0: IPv4. UDP listener opened on: 127.0.0.1:3479
0: IPv4. UDP listener opened on: 10.128.0.2:3478
0: IPv4. UDP listener opened on: 10.128.0.2:3479
0: IPv6. UDP listener opened on: ::1:3478
0: IPv6. UDP listener opened on: ::1:3479
0: Total General servers: 2
0: IO method (auth thread): epoll (with changelist)
0: IO method (admin thread): epoll (with changelist)
0: IPv4. CLI listener opened on : 127.0.0.1:5766
0: IO method (auth thread): epoll (with changelist)
0: SQLite DB connection success: /var/lib/turn/turndb
Google 클라우드 VM 내부에 있기 때문에 작동하는지 차단되는지 확실하지 않습니다.
방화벽에서 포트를 열어야한다고 생각합니다.포트 3478 및 5349 ([다음 지침 포함])를 열어보십시오 (https://stackoverflow.com/questions/21065922/how-to-open-a-specific-port-such-as-9090-in-google-compute- 엔진). – Kyle