Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

HC2 as remote gateway in other network segment


Question

Posted

Hi!

 

I have two HC2 located far away from each other. Both have static external IPs and external ports 8080 (forwarded on router from 80 to 8080).

I can connect to any of them from any place knowing their IP:PORT.

I tried to connect one of them as slave to master HC2, but with no success. I have used IP:PORT format in Add remote gateway tab to connect slave HC2, but got "Connection error. Check Home Center network connection and try again." error.

What I am doing wrong?

3 answers to this question

Recommended Posts

  • 0
Posted

maybe they can work as master and slave only on LAN. try to create vpn tunnel between them that they think they are in the same network

  • 0
  • Inquirer
  • Posted
    56 minutes ago, marczu83 said:

    maybe they can work as master and slave only on LAN. try to create vpn tunnel between them that they think they are in the same network

     

    I can't create a VPN tunnel there.

    Maybe HC2 uses some special port for connection between gateways, so if I forward it, it will be possible to establish connection, I hope.

    • 0
    Posted

    the connection between HC is work only on port 80, the syntax IP:PORT don't work, the port is fix :-(

    If you use open source router on master site is possible to do on it:

    REMOTE_IP=1.1.1.1 #IP of slave HC

    iptables -t nat -A PREROUTING -d $REMOTE_IP -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination :8080

    this reroute questions from master HC2 from port 80 to send via internet via 8080. But be careful, the transmission isn't scrambled.

     

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...