Archived

This forum has been archived. Please start a new discussion on GitHub.

a questoin about firewall

can the demo of hello communicate(client and server) through a firewall?
if it cann't, how to make it can?
Glacier? is glacier the only way to go through a firewall?
thank you !

Comments

  • benoit
    benoit Rennes, France
    The demo/Ice/hello demo only establishes connection from the client to the server so as long as your client is allowed to establish outgoing connections through the firewall it should work fine.

    It gets more complicated when the client can receive callbacks and the client is behind a firewall. In this case, you can either use bi-directional connections (see the demo/Ice/bidir demo) or Glacier2 (see demo/Glacier2/callback).

    I recommend you to take a look at the Glacier2 chapter in the manual, it explains this in details (take also a look at the "Ch 33: Connection Management" chapter for more information on bi-directional connections).

    Benoit.
  • OK ,thank you very much!