Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-09-2006
Nis Baggesen Nis Baggesen is offline
Registered User
 
 
Join Date: Aug 2004
Location: Aarhus, Denmark
Posts: 112
Controlling clientside port

We have the usual setup where our client may be behind firewall A, and our server is located behind firewall B. Currently this is handled quite elegantly using the Glacier2 router, where the client opens a bidirectional connection to a forwarded port in firewall B published by the Glacier2 router.

So far so good.

This work just fine if firewall A allows outgoing connections. But what do I do if I want to control the port used by my client? It seems that it ignores the Endpoint configuration, but I may be missing something.

mvh

NHB
__________________
Nis Haller Baggesen
Lead Programmer
Company: Runestone Game Development (www.runestone.dk)
Project: Seed (MMORPG) (www.seedthegame.com)
Reply With Quote
  #2 (permalink)  
Old 08-09-2006
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
The endpoint contains the server port number. This has nothing to do with the port the client uses for the outgoing connection. This port is chosen by the operating system.

In your scenario, if firewall A does not allow outgoing connections, then there is simply no way a client behind that firewall can communicate with a server outside this firewall.
Reply With Quote
  #3 (permalink)  
Old 08-09-2006
Nis Baggesen Nis Baggesen is offline
Registered User
 
 
Join Date: Aug 2004
Location: Aarhus, Denmark
Posts: 112
Quote:
Originally Posted by marc
The endpoint contains the server port number. This has nothing to do with the port the client uses for the outgoing connection. This port is chosen by the operating system.
Well I sort of knew that Endpoints where for server ports, it was just the only thing I could think of fiddling with. I assume there is no way to affect the choice of port for the outgoing connection ? Or at least not via Ice.

Quote:
Originally Posted by marc
In your scenario, if firewall A does not allow outgoing connections, then there is simply no way a client behind that firewall can communicate with a server outside this firewall.
Ok. I'll have to look further into what that firewall does and does not allow. Unfortunately I'm not the one with the problem, but someone else needs to use our client to connect to our server, and he seems to have run into a firewall problem.
__________________
Nis Haller Baggesen
Lead Programmer
Company: Runestone Game Development (www.runestone.dk)
Project: Seed (MMORPG) (www.seedthegame.com)

Last edited by Nis Baggesen : 08-09-2006 at 12:52 PM.
Reply With Quote
  #4 (permalink)  
Old 08-09-2006
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Quote:
Originally Posted by Nis Baggesen
Well I sort of knew that Endpoints where for server ports, it was just the only thing I could think of fiddling with. I assume there is no way to affect the choice of port for the outgoing connection ? Or at least not via Ice.
This is correct, Ice does not have any manual configuration options for this port.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
QNX port n2503v Help Center 5 12-18-2006 06:16 PM
why not and when does ICE port to Symbian OS? genelee Comments 4 12-08-2005 04:42 PM
Controlling connection direction sean Help Center 4 02-07-2005 11:55 AM
Would ICE be port to Delphi 3100 Help Center 0 07-20-2004 03:03 AM
AIX Port ScottDiedrick Help Center 1 04-13-2004 05:37 PM


All times are GMT -4. The time now is 12:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.