Groups | Blog | Home
all groups > c# > february 2005 >

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


Peter Rilling
2/26/2005 9:30:48 AM
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.

[quoted text, click to view]

DalePres
2/26/2005 11:46:53 AM
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


[quoted text, click to view]

Mahesh Devjibhai Dhola
2/26/2005 9:34:43 PM
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...."

AddThis Social Bookmark Button