How to Open Port 22

Article author
Customer Support
  • Updated

Opening port 22 allows Bobcat to remotely connect to your hotspot to run diagnostics including firmware updates, address Helium Miner issues, and more in cases where we can’t remotely access your hotspot normally through our VPN service.

Set a Static Internal IP for the Miner

The first step to opening port 22 will be to set a static or reserved internal IP address for your miner. This is different from a static public IP address that ISPs typically charge for. Setting this will ensure the miner always joins the network using the same IP address, which is important as many routers perform port forwarding to an IP address, not a device. If the IP address of the miner changes but the port forwarding rule is pointing to the old IP address, the port forward will no longer be valid.

Using a computer/device that connects to the same network that your hotspot connects to, log into your router's settings page.

If you need assistance with logging into your router, or finding information in your router please reach out to your ISP. Due to the large number of possible routers and ISP specific settings, Bobcat cannot assist with your particular internet connection. Some ISPs also require configuration to be accessed from an app or website while signed into your account, rather than the local router webpage. In these instances you should never share your login information with any support agent for assistance! Keep your credentials safe!

Once logged into your router, navigate to the "connected devices" or "LAN device list" page and look for your miner in the list of devices. The Bobcat Miner 300 will typically show up as bobcatminer, and the Bobber 500 will typically show up as bobber-gatewayNOTE: If you have multiple hotspots under the same network, which is not the optimal, you should make sure the MAC Address matches that of the hotspot. If the hotspot is connected via Ethernet cable, then it should match MAC1 on the label on the back of your hotspot; if it is connected via Wi-Fi, then it should match MAC2.

ConnectedDevices.jpg

Once you have located your miner in the device list, take note of its internal IP address. Some routers will allow a DHCP reservation or static IP assignment to be configured from this page. Other routers will require you to navigate to a different page to configure the address, such as a "LAN configuration" or "Home Network" tab. Find the correct menu and assign the current IP address of the miner as found in the previous step as the static IP address, or enable DHCP allocation which will effectively be the same.

SetStatic.jpg

If you receive an error that the IP address is in use, try increasing the last number by 1 (using 192.168.0.216, rather than 192.168.0.215).

Configure the Port Forwarding Rule

Different routers may have different navigation menus and options. Try Google searching your router model and port forwarding instructions if needed. Typically, port forwarding rules are located under Advanced Settings, and then Firewall or Firewall, then NAT.

Assign the port forward for port 22 to the device or IP address of the device, depending on your router settings. If the settings page requires a service rather than port number, choose "SSH"

PortForward.jpg

Verify Port Forwarding is Enabled

In order to verify the port forwarding rule was correctly configured, we will use portchecker.co to test. Navigate to the site, and if the "Your IP Address" field is not filled in, click Use Current IP. Select SSH - 22 from the dropdown, or enter 22 in the "Port Number" field. Click the "Check" button. You should see "Port 22 is open." if the port forwarding rule was configured correctly. If you see "Port 22 is closed." double check that the port forward is set for SSH/port 22 and is configured to the correct IP address/device.

PortChecker.jpg

NOTE: If your miner is powered off or not connected to your router, the port will be reported as closed. This is because there is no device listening on port 22 and replying back to the port checker service. This can also happen if there is an issue with your miner which is preventing SSH access from working. If you have double-checked all settings and they are correct, inform Bobcat Support of your results.

When to Open or Close Port 22

Opening port 22 allows for users outside of your home network to remotely access a device via SSH. Typically, this is only possible if the device is configured to allow for SSH connections and requires a password or some other form of authentication, however hackers can often exploit systems to gain SSH access without passwords if there is a vulnerability in the software or device. For this reason, it is recommended to have port 22/SSH forwarding disabled at all times unless required.

Hackers routinely perform "port scans" on wide ranges of IP addresses, similar to the port check we performed in the last section. When they discover port 22 is open, they may begin investigating to determine if there is a vulnerability they can exploit to gain access to the device. While this is rare, it's generally recommended to keep port 22 closed to avoid any potential issues.

For this reason, we recommend only forwarding port 22 when explicitly asked to do so by Bobcat Support, and to disable the port forwarding rule as soon as your ticket is resolved or Bobcat Support informs you to do so.

Bobcat has systems in place to allow for secure SSH access of miners that does not require the forwarding of port 22. You will only be asked to perform port forwarding if your miner is not reachable via our standard remote access mechanisms.

Was this article helpful?