How i can bypass proxy/firewall in .Net? preferably c#?

  • Thread starter Thread starter Mahesh Devjibhai Dhola
  • Start date Start date
M

Mahesh Devjibhai Dhola

Can you please help me in my problem?

I have a socket prog. application like
http://www.codeproject.com/dotnet/csharpwhiteboard.asp

My application is chat application like above architecture.

I want to bypass firewall aswell as proxy if any on two chat clients like
yahoo or msn can chat beyond proxy/firewalls...

Please guide me, how i can do that...!

Thanks,
Mahesh Devjibhai Dhola
"Empower yourself...."
 
If you could bypass a firewall, then any program could and that would defeat
the purpose of such protection. You would need to configure the firewall on
both ends to allow your application to communicate with the outside world.
 
To bypass the firewall, you'll have to use a port that configured to pass
through the firewall.

Most, if not all, firewalls allow communications initiated locally. In
other words, if a client sends a request to a server, then the response is
expected by the firewall and should be sent to the client without blocking
it. Only "listeners" should have to have their firewalls configured. That
can be a single server or, in a peer to peer system, every user must listen.
With that in mind, you have a couple options.

If all messages are routed through a server before being forwarded to the
recipient, then you shouldn't have any problem once you've configured the
firewall at the server.

If it is a true peer to peer chat system, then each client will have to
"listen" on the inbound port and, therefore, each client will have to have
its firewall configured to accept the incoming request from the other peer.

HTH

DalePres
MCAD, MCDBA, MCSE
 
Back
Top