Lets say I have two clients behind NAT(router) that know each others
routers global address.
I'm woundering if I set up a tcplistener (or maybe UDP scoket( on both
clients, and a tcpclient on both clients could I tunnel through to each
using the following:
1. Client A starts listening and attemps to connect to Client B's
global IP which will discarded by the firewall of B.
1. Client B also attemps to connect to A, and am I correct in assuming
that the router of client A will think the client Bs attempts to
connect is the response from the original connection attempt from A and
map the ports accordingly? Or is this a hopeless failure.
Thanks for your ideas
Carmen 5 1490
Configure both routers to allow the traffic.
--
Derek Davis dd******@gmail. com
<cb*****@gmail. com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. . Lets say I have two clients behind NAT(router) that know each others routers global address.
I'm woundering if I set up a tcplistener (or maybe UDP scoket( on both clients, and a tcpclient on both clients could I tunnel through to each using the following:
1. Client A starts listening and attemps to connect to Client B's global IP which will discarded by the firewall of B. 1. Client B also attemps to connect to A, and am I correct in assuming that the router of client A will think the client Bs attempts to connect is the response from the original connection attempt from A and map the ports accordingly? Or is this a hopeless failure.
Thanks for your ideas Carmen
Why would you waste bandwidth with such a pointless reply. Obviously if
this was an option I would do that.
Try explaining to clients what a router is, then try and explain to
them what ports are, and then port forwarding, and then have them
troubleshoot their shitty router. . . . and on and on.
Please save your words for useful responses.
Carmen cb*****@gmail.c om wrote: Lets say I have two clients behind NAT(router) that know each others routers global address.
I'm woundering if I set up a tcplistener (or maybe UDP scoket( on both clients, and a tcpclient on both clients could I tunnel through to each using the following:
1. Client A starts listening and attemps to connect to Client B's global IP which will discarded by the firewall of B. 1. Client B also attemps to connect to A, and am I correct in assuming that the router of client A will think the client Bs attempts to connect is the response from the original connection attempt from A and map the ports accordingly? Or is this a hopeless failure.
Yeah, no. There's no way, in software, to resolve this issue.
Either you need a third server which is not behind a NAT(router) to hook the
two connections together (e.g. most IM protocols go through a third server)
Or you need to change the routing rules in the router to direct a specified
port (called port forwarding) to a specified machine behind the firewall (or
make a machine the DMZ machine, but I wouldn't do that). I've managed to
get the port fowarding to work with my firewall, and it was not hard to do.
HTH
--
Reginald Blue
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone."
- Bjarne Stroustrup (originator of C++) [quoted at the 2003
International Conference on Intelligent User Interfaces]
LOL. Ok.
--
Derek Davis dd******@gmail. com
<cb*****@gmail. com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com... Why would you waste bandwidth with such a pointless reply. Obviously if this was an option I would do that.
Try explaining to clients what a router is, then try and explain to them what ports are, and then port forwarding, and then have them troubleshoot their shitty router. . . . and on and on.
Please save your words for useful responses.
Carmen
Hi, cb*****@gmail.c om wrote: 1. Client B also attemps to connect to A, and am I correct in assuming that the router of client A will think the client Bs attempts to connect is the response from the original connection attempt from A and map the ports accordingly?
No, you are not correct in that assumption. There is a difference between
packets related to an established connection and a new connection handshake,
which even the most primitive NAT router will be able to tell.
Or is this a hopeless failure.
The scenario you suggest is, but there are options.
Most SOHO routers these days are UPnP (Universal Plug and Play) aware. The
whole point of UPnP is for applications to be able to programatically
discover things like routers and instruct them to forward the required
ports. I don't have any practical experience to offer in that area, but it
is definitely something you should research.
Another option may be to provide a server, to which both clients can then
make an outbound connection. Some instant messaging programs use that as a
last resort for file transfers.
--
Chris Priede This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mike420 |
last post by:
In the context of LATEX, some Pythonista asked what the big
successes of Lisp were. I think there were at least three *big*
successes.
a. orbitz.com web site uses Lisp for algorithms, etc.
b. Yahoo store was originally written in Lisp.
c. Emacs
The issues with these will probably come up, so I might as well
mention them myself (which will also make this a more balanced
|
by: Wayfarer |
last post by:
Hi,
I've been developing in Firebird, so I didn't notice this until today.
When I use the <q> tag, IE 6 doesn't put quotes around the quotation. I
tried specifically doing it in a stylesheet:
q:before { content: open-quote; }
q:after { content: close-quote; }
but it didn't work.
|
by: Bryan |
last post by:
I've been messing around with a C++ application on Xbox, and have been
encountering problems with my objects getting garbage collected when
they go out of scope, but before I'm actually done using them. I'm not
really familiar with how this works in C++, since I first learned C,
then Java, and never really spent a lot of time learning C++ other
than applying Java concepts to C++'s syntax. Here's my problem:
I have a function (doesn't...
|
by: ecomputerdelicacy |
last post by:
Compact Framework SP3 (and I think also SP2 and SP1) XmlTextReader does not
handle !DOCTYPE and (maybe?) rdf elements. How can I get the XmlTextReader to
read these without issuing a NotSupportedException? Or at least to get past
these elements (and nested elements) with an Skip()? I've tried setting
xtr.XmlResolver = null; but it doesn't change the functionality. I'm still
getting the exception.
In a recent MSDN MVP Chat, I was pointed...
|
by: Sashi |
last post by:
Two questions:
(1)
I can pull the text of an XML element as a string just fine using code
as such:
strSomeString =
myXmlDoc.SelectSingleNode("/Element1/Element2/Element3",
myXmlNSMgr).InnerText;
| |
by: Mike Spertus |
last post by:
Is there a way to get an approximate stackpointer into an int in C#?
The following works, but is unsafe and adds a new variable to the
stackframe:
int i = (int)(&i);
It seems like it should be possible to do this safely because I never
dereference a pointer. Perhaps there is a safe way to load a register
value into an int?
|
by: mseeger |
last post by:
My concrete problem is this (it is a bit special, but there may be other
instances of it):
I'd like to create a class for vectors (say: Vector), exporting math. methods, say v.foo(...).
I'd like to implement 'operator()' s.t. I can treat parts of a vector in the same
way as a normal vector: if v.foo(...) works, so should v(rng).foo(...), where
rng is a range object. This should work even if 'foo' is a non-const method.
I do this by...
|
by: JohnGos |
last post by:
Since around 10th May (a couple of days after the recent IE autoupdate), a web application which has worked without problem for several years has developed intermittent problems with data posted from a form not being received by our server scripts.
Having not been able to find the cause of this, we firstly tried the application on three different servers (all Linux) at different ISPs and the same problems occurred. We then completely...
|
by: imaloner |
last post by:
I am posting two threads because I have two different problems, but both have the same background information.
Common Background Information:
I am trying to rebuild code for a working, commercially sold application with only partial build instructions. The previous maintainer of the code (a
mixture of C and C++) is no longer with the company, but when he built the code he used MSVC++, and though I am not certain of the version he was ...
|
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...
|
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,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |