Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

how to bind a domain name to Intel WebRTC?

how to bind a domain name to Intel WebRTC?

www.xxxx.com=>210.12.xxx.xxx

Router
210.12.xxx.xxx

WebRTC Server
192.168.1.xxx

Web browser visit:https://www.xxxx.com:3004/

got the token by base64 decoder :

{"tokenId":"580f118c6a434e36e5345253","host":"192.168.1.xxx:8080","secure":true,"signature":"MTNiUTM3PTc5NzI1ODRkYzk4NGQxZmNmOTJkODVmYWJmODQ4MDE0YmQxODhjZjlhZTA2MTUzNTAzNzgyOTRkOA=="}

but i want to get www.xxxx.com,not 192.168.1.xxx

Tags (2)
0 Kudos
3 Replies
Highlighted
Beginner

Router config use "one-to-one

Router config use "one-to-one NAT".

0 Kudos
Highlighted
New Contributor I

Hi, 

Hi, 

You can use NGINX webserver  for the same and point domain 

And change the configuration in portal.toml as shown below

[portal]
keystorePath = "./cert/certificate.pfx"
hostname = "socket.domain.com" #default: ""
ip_address = "" #default: ""
port = 8080 #default: 8080
ssl = true #default: true
#The network inferface the socket.io will be bound to in case portal.ip_address (the 'ip_address' item above) is not specified or equal to "".
# networkInterface = "eth1"

 

and configure another domain for basic example on port 3004, 3001 redirecting to 443

And also you need to have SSL certificate for secure connection 

Thanks

Naresb

 

 

0 Kudos
Highlighted
Beginner

Thank you very much.

Thank you very much.

0 Kudos