🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5447

Re: Through FireWall

#5447
From: minoy
Date: Sat, 11 Sep 2004 08:05
35 lines
2082 bytes
 I actually want to know this :
      A client(C) in LAN behind the Firewall/route(F) want to
 connect to a Server(S) in WAN.Suppose that we use the UDP.
      Now,Client connects to Server directly use S's IP,and
 Send a Message To Server,
The Server receive the Client's Message,then Send the response Message to Client,Now,
I confused,The Server must connect to Client use Firewall's IP,But use Which Port? 
If they connect next time,does the Port change?



Hans Galema <dontusethis@dontusethis.nl> wrote:
>minoy wrote:
>
>> I has searched for this subject:
>(I have searched for this subject and found:)
>
>
>> a client behind the firewall connects to a outside server
>> I kown this,but then how the outside server connect to a client?
>> 
>> Is it this?
>>     when a client(A) behind the firewall(F) connects to a
 out server(S),the the F give the A a temporary address
IP:PPort),the outside server then use this temporary address 
given by firewall to respond the connection.
>
>No. What you just tried to describe is how a client would connect
>with a server residing outside.
>
>Why are you asking for a server connecting with a client ?
>Servers do not connect to clients I would think.
>
>Hans.
Technical Details
Message-ID: <4142b1b4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41414382$1@newsgroups.borland.com> <4141485f$1@newsgroups.borland.com> <41418641$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,82d1fc96f1dc2486
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "minoy" <spam@spam.com>
Sender: "minoy" <spam@spam.com>
Reply-To: "minoy" <spam@spam.com>
Subject: Re: Through FireWall
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 219.136.51.216     
References: <41414382$1@newsgroups.borland.com> <4141485f$1@newsgroups.borland.com> <41418641$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4142b1b4$1@newsgroups.borland.com>
Date: 11 Sep 2004 01:05:08 -0700
X-Trace: newsgroups.borland.com 1094889908 207.105.83.66 (11 Sep 2004 01:05:08 -0700)
Lines: 36
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail