IP and Port Forwarding

Often a SNIP NTRIP Caster is run on a machine which does not have a static IP address assigned to it.  In this article three ways to set the link address used in various reports created by SNIP are reviewed.   If your copy of SNIP operates behind a firewall, or is using Dynamic DNS (DDNS), or uses a router or DSL modem to connect to the internet, or has a DNS entry rather than just an IP address  – use this dialog to map the public IPs values seen by various public reports in SNIP.

The Basics

The IP Mapping Setup dialog is reached by pressing the IP Map button found on the Caster and Clients tab.   The dialog (shown below with representative values – yours will differ) presents a choice of three editable values which will be used by SNIP in the links found with with various reports such as the general STATUS command.

Note: Use of this dialog is entirely optional.

If your SNIP NTRIP Caster uses a static IP then any reports will already correctly link to the caster.  You might still wish to use the Public DNS Name option to have those reports use the URL string for your Caster, rather than its IP address.

If your SNIP NTRIP Caster uses IP and/or port forwarding, you should use either the Public DNS Name option (if the the IP has a DNS name registered with it) or the Public IP Address option if you prefer to use IP address values.

Note: If you have a Pro or Enterprise model of SNIP and wish to have a machine name registered using one of the SNIP namespaces (xxx.use-snip.net or xxx.use-snip.org or xxx.use-snip.com or xxx.use-snip.co), please drop us a note at the normal support email.  We reserve the right to handle any name conflicts that may arise as we see fit.

Note: If you are using a commercial DDNS service such as ddns.net then the periodic registration and maintenance of the machine name is handled by that provider.  Simply enter the name you have registered in the IP Mapping Setup dialog.

Use of the Controls

The master on/off control for this feature is Public IP Mapping Format checkbox.   When unchecked no IP or Port mapping occurs and the IP value which is entered in the Caster and Clients tab is used for all reports and links  (this is the machine IP address, the IP of the network card in you PC).  When the control is checked, whichever value of the three choices is selected is used in the reports and links.

The major choice is which of the three format styles is to be used, the values for each choice are enabled for editing when selected.  Along the right side of the dialog box are a set of test buttons to allow the SNIP operator to confirm that other parties (on the public internet) can contact and connect to this NTRIP Caster over the public internet using those settings.

Extensive tool tip hints are also provided and these are shown in the textual window at the bottom of the dialog. When one of the test buttons has been pressed, comments regarding what the user should expect to find are then provided (the results are shown in a separate browser window using the default browser of the machine).

The use of the three choices is as follows. Much of this text is also repeated in the tool tips.

Public DNS Name

Select this option when either:

  • a) You have registered a DNS name on a domain to resolve to this machine’s Static IP address, or
  • b) This machine (the SNIP machine) connects to the internet by way of a router using DDNS and you have registered a DNS name to resolve to this machine’s dynamic IP address

Tip: Be sure any router or firewall between SNIP and the internet will forward the incoming NTRIP connections on your public port (often 2101) to the machine IP and port.

Public IP Address

Select this option when this machine (the SNIP machine) connects to the internet by way of a router with a common IP address (enter that address here).

  • If the router IP periodically changes (DCHP or any non-static IP value), use this option.
  • If the router or this machine uses Dynamic DNS (DDNS), use this option or the one above.

Tip: Be sure any router or firewall between SNIP and the internet will forward the incoming NTRIP connections on your public port (often 2101) to this machine IP and port.

Machine IP Address

Select this option when this machine (the SNIP machine) has a Public Static IP address that is accessible by anyone on internet. Or, if SNIP will only be used within your local WAN.

  • This is the address of the network card SNIP is using, the same value found on the Caster and Clients tab.

Tip: Do not use this option when port forwarding is being used or if a router is performing NAT services to access the internet.

Test Buttons

Each of the choices also provides a Test button that when pressed invokes a remote NTRIP Client  (a service maintained on SNIP cloud based servers at: monitor.use-snip.com).  The remote service uses the specific value you have entered to try and access your Caster Table.  When this service can see your Caster, so can other parties on the public internet. And you then have confirmation that your settings are correct.

 

Was this article helpful?

Related Articles