SMG-FAQ


    1. How Do I Access The SMG-WEBUI When It Is Behind A Firewall/Router using an SSH Tunnel
    • When your SMG system is behind a firewall/router(nat) and there is only SSH access available(port 22) then you will need to use a SSH tunnel to access the webui. Below is a concept drawing of how exactly a tunnel works.
    ssh-tunnel.png

    • Below is a SSH tunnel example using the windows SSH client PuTTY; you can use any ssh client that supports a ssh tunnel.

    SSH Info Used

    Public IP: 8.8.8.8
    Private IP of SMG Server: 192.168.1.3

    *Substitute the private and public ip for that of your setup.
    *Now if the SMG is connected directly to the internet (Has Public IP) then use the public IP for both IP's in this example.

    • The example below is accessing and SMG system with private IP 192.168.1.3 which is behind a firewall and NAT with a public IP of 8.8.8.8. So we start by putting in the host name in the putty window as we normally would for any SSH connection.
    putty-ssh-connection.png

    • To create the tunnel just simply go to "Tunnels" under the SSH section as shown below. In there put "5000" as the source port and "192.168.1.3:8888" as the destination socket, then click add. Once this is done go back up to the "Session" section to go to the previous window (as shown above) and click open as you normally would to connect. Then fill out the password when prompted to connect to the system as normal.
    putty-ssh-tunnel.png
    • The last step is to access the webui by typing "http://127.0.0.1:5000" in your web browser on the system you created the putty connection from and you will see the webui on the 192.168.1.3 system. This works because the tunnel points local port 5000 to port 8888 on 192.168.1.3. If this does not work please insure the smg-webgui service is started. If there is still issues please contact support and they will assist you.