Do I try to push? Yea kind of but not really.
Idea is this:
1) Client connects to server and requests text
2) Server sends back text to provided port
3) Absolutley different client connects to server does 1,2 and also request
info about first client and then send text directly to first client
That's how ICQ work I presume.
From: SDamron [mailto:sdamron at gmail dot com]
Sent: Wednesday, October 04, 2006 6:54 PM
To: Alex M
Cc: Monowall Support List
Subject: Re: [m0n0wall] Finding right open port for NAT-Punch
Actually...you need to send it to the router, and let the router deal
with which machine asked for it when it gets there. If you are trying
to "Push" something that has not been requested, you are double
On 10/4/06, Alex M <radiussupport at lrcommunications dot net> wrote:
> Ok this one is a little bit off topic, but no one else can give me clear
> I'm writing a VB.net 2005 that supposes to send string to network pc over
> the internet. In most cases PCs are behind NAT box, so my app should be
> to bypass router and reach destination PC. That is not possible because
> router doesn't know where to forward request so it eats the package. In
> order to work around that thing I can use server to whom client will send
> request and because client behind NAT box initiated the connection
> the router should have assigned the port for that client to communicate
> outside network so if we send socket back to that port it should reach the
> client that initiated the connection.
> I did an app based on those assumptions but never got able to bypass mono
> working as nat. Moreover it seams that I have different port numbers
> detected on the same socket.
> For example Im sending socket from laptop that is behind NAT to a Desktop
> which is working as the server and is located on a wan interface of mono.
> The socket is obviously delivered since there is no barrier, but here is
> interesting observation.
> Laptop says it's talking to the NAT on port 1438 (Local Endpoint Port),
> while desktop says it got the socket from port 53010 (Remote End Point
> My app on laptop is being set automatically to listen to Local Endpoint
> (1438 in this case), but when I send the packet from Desktop to the mono
> address on that port it gets nowhere. I even tried that 53010 port but no
> Im a bit lost now so maybe some one had any experience in doing this and
> VB sample code, or at leas can some one tell how ports are signed to the
> sockets on mono and in general, and why cant I go through with example I
> And sorry for off topic post.
A morning without coffee is like something without something else.