Is it possible to have a turn server without configuring realm? - webrtc

I was trying to host a turn server for my webRTC project. I have my entire server running on a virtual machine static public IP Address. I found this article Turn Server Installation Guide. For configuring the turn server we need to have a domain name that is not available in my case. Is it possible to have a turn server running on my public IP without configuring any domain/realm name?

Yes I found it is not necessary to configure the realm.

Related

Restricting sonarqube access only via Apache Reverse proxy server

I have configured my Sonarqube server to be accessed using the reverse proxy mechanism provided by Apache server mod_proxy module.
My question here is, even after the above setup i will be able to access the sonarqube server by hitting the direct sonarqube url ex:http://localhost:9000.
Is there a way i can restrict the access to my sonarqube server only via Apache reverse proxy server, by making simple configuration changes may be in some sonarqube property files.
Or Any other solution for this requirement?
I am using the latest version of Sonarqube 6.1
Ragdu you have to bind SonarQube to localhost. In sonar.properties use : sonar.web.host=127.0.0.1
Obviously you will be able to browse from your server by accessing http://localhost:9000 but only from your server, you won't be able to access through http://{your_server_ip}:9000.
Binding the server to localhost is the correct option, but if for some reason you don't want to touch sonar.properties, or you need to switch to the 'two different boxes approach' you can use the system firewall to filter the access.
In the first case, you drop all packets coming from your network card to port 9000 (but you need to allow the access in the local interface).
In the second one you would only allow the Apache machine's IP to communicate with the port 9000 in the SonarQube machine, all other packets coming to port 9000 would be discarded.
Be careful, in the second case you should implement SSL between Apache and SonarQube or isolate both machines, otherwise the HTTP communication could be sniffed.

Mimic client request

I have a server running on my machine. I want to send a request to the server using different IP address to test a web application. I only have the machine on which the server is installed. I have been testing as a single user but now I would like to let the server think that the request is coming from a different ip address even though it is from the same machine. How can I do that?
Here are the 2 solutions that might be possible in your situation
1- To change the ip address :
Pick an ip from the free proxies here: http://www.freeproxylists.net/
And enter the info in firefox just like this page says:
http://www.wikihow.com/Enter-Proxy-Settings-in-Firefox
Note: You may pick a proxy with port 80.
Then you are good to go...
2- Or you might use a Virtual Machine installed on the same computer as the server and access the website right from it but beware not to use bridged connection.

Microsoft Azure Apache Web Server Not Accessible

I've created literally dozens and dozens of web servers in my day, but this is my first attempt with Windows Azure and I'm running into some problems. I just started migrating from AWS recently.
First of all, I'm running Ubuntu 13.04. Firewall disabled (for debugging), Apache2 installed correctly (using apt). SSH works fine as do many other services with both the DNS hostname and public IP. Virtual host is set up correctly and validated. However, I cannot access the HTTP website either through the Azure provided subdomain or the virtual IP. It just times out.
This is also my first time using Ubuntu 13.04 as well. So, through the powers of deduction, I'm assuming there is something I'm missing either with this new version of Ubuntu or some quirk in Azure. Does anyone have any suggestions?
SOLUTION
These steps to create "endpoint" works fine for all VPS:
open "virtual machine > endpoint > add endpoint"
choose "next"
set "name:http, protocol:tcp, public port:80, private port:80"
choose "complete"
and then must wait for activation and then for some time.
If you are using Azure Resource Groups along with your VMs (which is available on the new portal) you cannot use endpoints because it's not available there, so you should follow the following to open up the HTTP port or ANY other port:
1- Select the VM that you want to manage ports on.
2- In settings, click on Network Interfaces and select your network.
3- Go to Network Security Group and select your group.
4- Add Inbound or Outbound security rules depending on what you need.

how to make apache server public

I want to convert my pc to a web server. I installed centos server and apache server.
How I can make apache server public? I want to everyone access my web site on my pc via browser.
Thank you..
You have 2 ways, you can buy a domain and a static IP address for your computer (usually through the service provider) and configure your router and FW to allow access to the machine for port 80.
The other way is to use some sort of dynamic dns service like DynDNS to be able to bind a DNS to a dynamic IP address (you will need to run a daemon to update the account once in a while because your IP may change). The FW and router rules are still needed in this case as well.
After you do one of the these steps everyone should be able to access your apache server on your computer as long as it's on.

glassfish v3 multiple domain hosting

I have a website running with glassfish and I want to now use the same server to host another domain on a completely new domain name. What are the steps involved in configuring glassfish to support this?
Create a new virtual server and assign the new domain name to it. You can use the admin console to achieve this:
Configuration --> Virtual Servers --> new
Assign a name to the new virtual server (Field: Id) and set your domain name (Field: Hosts). Choose one or more http-listeners and restart your server.
Yes, actually this is achieved by adding a new Virtual server in GlassFish admin console panel.
You can easily Run Multiple Custom Domains on GlassFish Server with Jelastic.
This instruction shows you how to manage this with every needed detail provided.