473,657 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
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...."
Nov 16 '05 #1
2 17971
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" <md*****@hotmai l.com> wrote in message
news:uu******** ******@TK2MSFTN GP09.phx.gbl...
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...."

Nov 16 '05 #2
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" <md*****@hotmai l.com> wrote in message
news:uu******** ******@TK2MSFTN GP09.phx.gbl...
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...."

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3022
by: gcash | last post by:
OK, I was writing code using WIN32ALL to do automation scripts for common things we do in IE a lot at work, since grunt-n-point gets very boring after a while. I snarfed the code from <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&safe=off&selm=mailman.1034878702.25947.python-list%40python.org> which was very useful. (Thanks, Dave!) Finally I get to a beta stage and give it to some of the guys in my group to...
6
7923
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in Internet Explorer connection settings (proxy:8080). However, as soon as this setting is enabled, the remoting program running on their pc stops communicating with the server it sends data to. I've disabled proxy setting on the affected pc, rebooted...
0
303
by: KumarForG | last post by:
hi, i have a webservice and it's client in dotnet. the client is coded to assign the proxy property to the service object, with the proxy url and authentication details. however, there is a particular configuration with seperate proxy and firewall where the invocation does not work.
0
1700
by: PeterJ | last post by:
I created some web pages in Visual Studio 2003 in VB and sent them to another fellow to be rolled up into an application. This was sent back to me and I could not open the whole application. Now I can not even open the project I created for my web pages. When I do either, I keep getting a messagebox that says: "Visual Studio could nor create or open the application because your browser is configured to use a proxy server for the...
0
1029
by: Erick Galassi | last post by:
Hi, First of all I would like to excuse for my bad english, but I hope that you guys understand what is my question and help me on this , if its is possible. I have the strange and following condition: There are an webservice running on a server inside of a datacenter. From my client application (at any point of the internet) and I can consume the service with no problem (always). But there are some machines on the same network of my...
1
6854
by: OlaPihl | last post by:
Hi, How can I by code enable and disable "Bypass proxy server for local adresses" in Internet Explorer / Tools / Internet Options / Connections / LAN Settings. I have made a program (VB.Net) that can enable and disable the proxy server but I can't find how to do the "bypass ......" Would really appreciate som help.
1
2169
by: honestguy1999 | last post by:
Hi, everyone, I am using beej's flickr api in Python. For some reason I have to bypass the firewall using a proxy. I read the urllib reference and set http_proxy="my proxy". But it didn't work. I can't even get authenticated. Is there anyway that we can set the proxy?
2
19222
by: Adam | last post by:
Hi, everyone, I am using /usr/share/system-config-language/ language_gui.py in Python. For some reason I have to bypass the firewall using a proxy. I read the urllib reference and set http_proxy="my proxy". But it didn't work. Is there anyway that we can set the proxy?
11
5696
by: TMN | last post by:
Hi I am trying to get fetch rss from news sites from behind our corporate proxy/firewall but no php function has worked - I have tried curl etc but simply get no response. These scripts work fine at home so I have to believe it is due to our restrictive network - any ideas ??? Thanks Tim
0
8411
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8323
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8838
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7351
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2740
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.