Solved

How to bypass firewall in vb.net

Posted on 2008-10-20
4
925 Views
Last Modified: 2010-04-21
Hi!

Have made a application in vb.net using MYSQL
This client application need to connect to a database on
a internet database server.

My MYSQL database is using standard PORT = 3306
But some firewalls can ignore connections true this PORT

Is it possible to bypass this firewall in vb.net ?

If its possible, how do i do that ?

Thanks for help
0
Comment
Question by:team2005
[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
4 Comments
 
LVL 23

Expert Comment

by:Christopher Kile
ID: 22757329
No, it is not possible to bypass a firewall in VB.NET.  You need to use a port that's already configured for this purpose on the firewall, and if none is then you need to configure a port for this purpose.  Firewalls are designed so that programs can't bypass them.  
0
 
LVL 41

Accepted Solution

by:
graye earned 500 total points
ID: 22758382
I think the work "bypass" is not to be considered literally...   I suspect the question is "How to do I alter the Firewall polices to allow traffic" on a client PC.
Yes, there is a Firewall API... but it's a bit clumbsy.   I'd suggest that you write your code to "shell out" to the NetSh command-line.  The exact command-line is dependent upon the client OS (WinXP vs WinVista).
http://technet.microsoft.com/en-us/library/bb490617.aspx 
Recall, that it takes administrator privileges to alter the Firewall policies
0
 
LVL 2

Author Closing Comment

by:team2005
ID: 31507767
Thanks
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

710 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