Q: connection from clients with vpn IPaddress to a server with public IP address.

From: www.hyebun.com (bkna_at_besta.cc)
Date: 11/29/03


Date: Sat, 29 Nov 2003 17:08:01 +0900

Hi,
I have a question on connection of UDP and TCP.

As I know, some video conferencing programs or network camera systems
support network connections between public and VPN IP addresses through
TCP or UDP (I am not sure they used TCP or UDP).

I would connect UDP between a public IP address and at least one private
IP address.
If in TCP connection private IP addresss holder tried first to connect
to the public IP address holder, it is OK like "ping". But on UDP
connection, some router should support a port designated to a private
address holder. then is is OK. However, like this TCP connection, if
private IP holder requsts connection to the public IP address the public
IP address can get the private IP address holder's or VPN gateway's IP
address from "recvfrom()". I did not succeed on this way.

Therefore, I have some questions on this.
1. Should I use only TCP?
    if so, should the private IP address holder request connection to
the public IP address holder?
    if not so, any other way instead of UDP?
2. Is it possible to connect a private IP holder to a public IP holder
through UDP connection?
    If so, how to?
3. Are there any good example codes?

Regards,
bkna.



Relevant Pages

  • Re: VPN - How do they know?
    ... Funny that - because I connect from work to home most days tunnelling ... an OpenVPN connection through the corporate web proxy using TCP. ... TCP is adaptive to bandwidth - so if you have a poor connection, ... than UDP). ...
    (uk.telecom.broadband)
  • Re: Cant get UDP example to work
    ... differences between UDP and TCP. ... The example you gave uses connecton a UDP socket. ... There really is no connection set up when you ...
    (comp.lang.python)
  • Re: New Internet Webcasting Software Idea
    ... create a new audio encoding/decoding standard for Linux TCP and UDP ... I recommend starting with Linux ... connection goal, but if not possible, UDP was the failsafe. ...
    (comp.os.linux.development.apps)
  • Re: Multiple closed networks and UDP. Please help me.
    ... Each of the three computers will be in its own closed network. ... my program also needs to act as a TCP server on the regular ... I have worked with TCP many times, but never UDP. ... I believe that the TCP connection will be assigned based on the IP address. ...
    (microsoft.public.vc.mfc)
  • NFS problem with recent 2.6 kernels (also serial console weirdness)
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... mounted filesystem with ordered data mode. ... Mounted root (ext3 filesystem) readonly. ...
    (Linux-Kernel)