Blog

Testing GhostPorts

How do I test if GhostPorts is working without affecting the other users of a service?

Pick a service to do a test; we’ll pick a web server as an example.  We’ll assume you already have a firewall rule allowing the whole Internet (the second “any”) to access the web server:

Set yourself up with GhostPorts access.  Now, create two new firewall rules right above that line in this order: 1) GhostPort rule allowing access for you to the web server, 2) block your IP from accessing the web server, and 3) the original rule allowing the whole Internet to reach the web server:

Save, wait about a minute for the policy to update, then try to reach the web server.  Because you have not authenticated with GhostPorts, you should be blocked (because of rule 2 above).  Now log into your Halo Portal to authenticate with GhostPorts, wait 60 seconds, and try again; you should be able to reach the web server because of rule 1.  When you close GhostPorts, wait 60 seconds, and try to reach the web server one last time, you should be blocked from reaching it because of rule 2 again.

When you’re done, don’t forget to remove the first two firewall rules to return your firewall to its original state.

Related Posts