Solved

Using UDP or TCP messages through firewalls

Posted on 2004-09-17
5
311 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
  • 2
  • 2
5 Comments
 
LVL 24

Assisted Solution

by:SunBow
SunBow earned 250 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 250 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now