Solved

How to bypass firewall in vb.net

Posted on 2008-10-20
4
934 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video teaches viewers about errors in exception handling.
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.

615 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