Solved

Using UDP or TCP messages through firewalls

Posted on 2004-09-17
5
323 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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