nat

MySQL ring replication behind NAT

I am considering switching from Firebird where I'm using a hand-built replication to MySQL and its integrated replication solution. I have 4 departments with sporadic network connections. Each one has to have its copy of the database, and has to be able to update database, so I decided that using ring replication method (A->B, B->C, C->D...

Symmetric NAT conflict with port forwarding

I have one server behind NAT router that already set up port forwarding to server port 7000(server-client talk UDP). Everything is fine, except sometime the packet that is sent to client is not from port 7000, so firewall on client side drop it. Symmetric NAT map out-going source port to another port, when this server connect with more ...

How do I make a TCP server work behind a router (NAT) without any redirection configuration needed.

The scenario is the following. I have two machines A and B: A: Client (behind NAT) B: Server (behind NAT) I want B to be able to listen on any given port, so that A can send packets to B through that specific TCP port and receive any response. If both machines are not behind a NAT it is pretty straight foward process. However how do I m...

Server to server communication over NAT/router

I have two servers that need to be able to send requests to each other, and I need them to be able to communicate over a NAT or router. One server has a registered domain, and it is always waiting for connections. The other server sends the first request (the login request) to the first server when it starts. What is the best way to allo...

Testing NAT Breakthrough Code

I am very interested in at least trying to implement NAT break through for my senior project. (I am doing a networking API). It's not even a requirement of my project, just a interest of mine. I know the basics of how it works, correct me if I'm wrong: Two clients connect to a server that isn't behind a NAT and this server, knowing the I...

Connect to a computer behind router in .net

We have a client server application which we are developing in .net. We want the server to push data to client. But the client is behind a router (like a home network setup). What are the various options to implement this in .net? ...

NAT, P2P and Multiplayer

How can an application be designed such that two peers can communicate directly with each other (assuming both know each other's IPs), but without outgoing connections? That's, no ports will be opened. Bitorrent for example does it, but multiplayer games (as far as I know) require port forwarding. ...

is it possible to spoof ip behind NAT?

hello! is it possible to spoof the source ip if im behind a router that is using NAT? if not, how do botnet programmers manage to make a SYN flood from their slaves? doesnt most of the home/business networks use NAT? ...

clojure friendly java library for traversing NAT

I need to be able to establish a connection between two boxes that are both behind NAT? I have a central system that both sides can find each other through. I'm working in Clojure. ...

wcf duplex call through from host to guest under vmware (nat?)

i have installed an xp under vmware workstation and i can ping the guest with the adress 192.168.126.131 - so i've started a wcf duplex service, which works fine if i start srv and client under my host system (using localhost everywhere as path) - but if i start the service srv under the guest i can access http://192.168.126.131:18000/My...

How do two computers connect to same external address through NAT?

If I have two internal computers connecting to the same external IP address through a NAT router, how is the router able to get the traffic to the correct internal computer? It is my understanding that NAT forwards incoming packets to the computer that recently sent outgoing packets to the [incoming packet's] sender's IP address. Since b...

STUN, TURN, ICE library for Java.

I need to establish a P2P UDP and TCP Connection between two Users. Both of them are behind a NAT. A little research leads me to STUN, TURN and ICE. Is there any Java solution (library) except jSTUN which seems to work only on UDP. And TURN, ICE is much better for the symmetric NAT Problem. ...

How can I see what is using all my bandwidth on cisco IOS?

I have a cisco router performing NAT for my local network. Download bandwidth is stagnant at 2MB/s and I'm not sure which host is responsible for this and what exactly it's connecting to. How can I find this? Thank you. ...

NAT traversal with Java

Hi, I want to connect to computers, each one of them behind a NAT router. I read that STUN only works with one computer behind a NAT router. Is that true? If so, how can I solve that double-NAT problem? Thanks, Thomas ...

C# Opensource NAT and Firewall traversal library?

does any one know any stablele project/lib? I need code examples not theory! ...

Completing a socket connection across an intranet or internet.

I am writing a peer-to-peer binary socket program. There are only two endpoints. One socket is listening on my laptop system. The other socket is broadcasting from my desktop system. I have a third program running on a hosted server, that is available to broker the connection between the two. My problem is that when the laptop and d...

Http tunneling to pass firewall in C# (TCP)

My need is to communicate between 2 client behind NAT using http tunneling. Is it possible? What all setup is needed to achieve this (like http proxy server etc.)? Is there any library or sample code available for implementing http tunneling over TCP in C#? ...

C# TCP Hole Punch (NAT Traversal) Library or something?

I want to do TCP Hole Punching (NAT Traversal) in C#. It can be done with a rendevouzs server if needed. I found http://sharpstunt.codeplex.com/ but can not get this to work. Ideally i need some method which i give a PortNumber (int) as parameter that after a call to this method is available ("Port Forwarded") at the NAT. It would be als...

Multi-site WCF Service

I have implemented a WCF service that will be used at Site A with 5 computers in the LAN accessing the service. What I would like to do is have an elevated user/administrator be able to use one of the 5 machines and query an identical service at Site B (also with 5 computers) that they will need to connect to by bypassing the LAN firewa...

Web Application Nat Traversal

We are deploying web applications in java using tomcat on client machines across the country. Once they are installed, we want to allow a remote access to these web applications through a central server, but we do not want our clients to have to open ports on their routers. Is there a way to tunnel the http traffic in a way that the c...