lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] How do I send a UDP packet to a target in the LA N via


From: Kelly Chan
Subject: RE: [lwip-users] How do I send a UDP packet to a target in the LA N via router????
Date: Mon, 12 Apr 2004 14:33:06 -0400

Hello Becker,

Thanks for your reply. Two further questions regarding your approaches:

- Approach 1 - "you need first an channel opend from inside the private Network ( 192.168..) to your host ( 199...50). That's the normal way NAT works".

  Question: Do you know how long will the channel stay opened after some idle times?

- Approach 2 - The other possibility is to open an channel from your router via Port-Forwarding like an Port on your Router perhaps 199...70:8000 will be forwarded

to IP-Port 192...52:5000.
Question: What kind of messages (any standard messages) can I use for the port forwarding rather than using http protocol assuming my end point which does not support HTTP?

Kelly

-----Original Message-----
From: Andreas Becker [mailto:address@hidden]
Sent: Wednesday, March 31, 2004 11:41 PM
To: Chan, Kelly [WIC:2X57:EXCH]
Subject: Re: [lwip-users] How do I send a UDP packet to a target in the LAN via router????


Hi Kelly,

i think this is hard to do, you need first an channel opend from inside the
private Network ( 192.168..) to your host ( 199...50). That's the normal way
NAT works.
The other posibility is to open an channel from your router via Port-
Forwarding like an Port on your Router pehaps 199...70:8000 will be forwarded
to IP-Port 192...52:5000. So if you want to send some data from 199...50 you
have to write it to 199..70:8000.

Do you feel what I been talking about?

Best regards from Ulm (Germany) ,

Am Mittwoch, 31. März 2004 20:39 schrieben Sie:
> Hello,
>
> Can anyone tell me how do I route a UDP packet from a PC
> (199.207.2.50:5000) outside the LAN to a PC (e.g. 192.168.1.52:5000)
> resided in a LAN via the router (199.207.2.70) assuming I know the
> other PC's MAC address?
>
> Thanks in advance for shedding some light on this.................
>
> Kelly
> _______________________________________________
> lwip-users mailing list
> address@hidden http://mail.gnu.org/mailman/listinfo/lwip-users

--
Dipl.-Ing.(FH) Andreas Becker
Entwicklung

dSys e.K.
Soeflinger Str. 100
D-89077 Ulm
Tel:  +49.731.151579-1
Fax: +49.731.151579-9
web: www.dsys.de


reply via email to

[Prev in Thread] Current Thread [Next in Thread]