?
Solved

Using UDP or TCP messages through firewalls

Posted on 2004-09-17
5
Medium Priority
?
352 Views
Last Modified: 2013-12-04
Hi

I am not an expert under UDP or TCP and i am currently working on the possiblity to make an applicatoin.

The application will be composed by two executable.
One on a client machine and another on a server.
The both machines have to communicate some specific data thourgh an UDP or TCP port.

The problem is that the machines can be separated by one or several firewalls.

The other problem is that we need to make a plug and play application with no needs to the client to configure anything.

So is there any way to make UDP/TCP communications through firewals in such a case ?

Thanks
0
Comment
Question by:eric3333
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 24

Assisted Solution

by:SunBow
SunBow earned 750 total points
ID: 12087016
> So is there any way to make UDP/TCP communications through firewalls in such a case ?

Firewalls typically have nothing to do with either UDP or TCP, they are IP.  THey can filter the dotted address and some by port (blocking or allowing).

What you need is to go as close to standard as possible for communicating on addresses with ports no matter what your traffic is, for example, if doing your own eMail service consider using the eMail ports such as for SMTP 25.

Some may filter all traffic, so another thing to place at head of checklist is to investigate the firewalls themselves, ask their administrators which ports are acceptable and which are not for the purpose you have in mind. Never use ports that are not approved of.  Their staff may even have a fixed list of ports for you to select from, to properly identify and route traffic.  

Note that whether you select UDP or TCP is not the issue.  If you have the leverage, you might want to consider simply using FTP to perform the communication.  Send the information from one computer to the other in the form of a file. There are standard protocols and port for doing that, why reinvent the whell when unnecessary? But your needs may differ.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 750 total points
ID: 12090910
> So is there any way to make UDP/TCP communications through firewals in such a case ?
the firewall has to be configured to allow UDP or TCP on that port.

Or you may tunnel your protocol, for example using ssh (port 22)
0
 

Author Comment

by:eric3333
ID: 12100888
A question

If i use FTP with standard port can it be possible that i will go through firewalls ?

If yes what is the interest of firewalls in this case ?

Thanks
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12101415
firewalls are able to allow ftp, most only allow active ftp protocol
the interest is to block anything else than what is allowed ;-)
0
 

Author Comment

by:eric3333
ID: 12101955
Thanks a lot
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As I write this article, I am finishing cleanup from the Qakbot virus variant found in the wild on April 18, 2011.  It was a messy beast that had varying levels of infection, speculated as being dependent on how long it resided on the infected syste…
In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question