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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mahesh Devjibhai Dhola

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

    Can you please help me in my problem?

    I have a socket prog. application like


    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...."


  • Peter Rilling

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

    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.

    "Mahesh Devjibhai Dhola" <mddhola@hotmai l.com> wrote in message
    news:uunEqyBHFH A.2456@TK2MSFTN GP09.phx.gbl...[color=blue]
    > 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...."
    >
    >[/color]


    Comment

    • DalePres

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

      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


      "Mahesh Devjibhai Dhola" <mddhola@hotmai l.com> wrote in message
      news:uunEqyBHFH A.2456@TK2MSFTN GP09.phx.gbl...[color=blue]
      > 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...."
      >
      >[/color]


      Comment

      Working...