|
-
Aug 13th, 2002, 02:52 PM
#1
Thread Starter
PowerPoster
Redirect Winsock Connections over Server
You may know the problem of firewalls that allow outgoing but no incoming connections. Would it be possible to have a Server (which accepts connections) redirecting incoming connections so 2 users that are behind firewall could connect to each other?
I'm using the Winsock control and the Server is currently my own computer, what I need now is to connect 2 users directly so they can share files, play games, etc.
Any ideas?
-
Aug 13th, 2002, 03:52 PM
#2
So Unbanned
You can map ports. You probably don't have a firewall you probably have a NAT. If so you can try and configure the NAT to allow packets to be forwarded.
You could this this with a program aswell. That is, if you have a known open port, you could accept connections from it and redirect the data to a port that would be otherwised closed.
-
Aug 13th, 2002, 04:00 PM
#3
The picture isn't missing
so basically make the router be able to forward ports to the NAT address of the computer.
for example my NAT address is 192.168.1.102, so I would forward ports that I want to get to that address.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 13th, 2002, 04:02 PM
#4
So Unbanned
Originally posted by BuggyProgrammer
so basically make the router be able to forward ports to the NAT address of the computer.
for example my NAT address is 192.168.1.102, so I would forward ports that I want to get to that address.
Do you even know what NAT means?
...network address translation address of my computer...
...network address translation address is...
-
Aug 13th, 2002, 04:14 PM
#5
The picture isn't missing
hmmmmmmm......... maybe i got mixed up on what it is. whatever just replace what I said by 'the IP address the router assigns you'
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 13th, 2002, 04:20 PM
#6
So Unbanned
You need two winsock controls.
One to listen on the open port, which would be the one the remote user connects to you on, the other to connect to your local port that the app is listening on.
In their dataarrival events send the data to the other control.
-
Aug 13th, 2002, 04:21 PM
#7
The picture isn't missing
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 13th, 2002, 04:22 PM
#8
The picture isn't missing
Originally posted by DiGiTaIErRoR
You need two winsock controls.
One to listen on the open port, which would be the one the remote user connects to you on, the other to connect to your local port that the app is listening on.
In their dataarrival events send the data to the other control.
if they are both behind firewall you wouldn't be able to do that. (assuming FOX meant physical firewalls)
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 13th, 2002, 04:23 PM
#9
So Unbanned
They're not firewalled they're behind NATs.
-
Aug 13th, 2002, 04:26 PM
#10
So Unbanned
You can't forward a connection not made to you. Unless you're both networked into the server and you can make your own NAT.
That would be hard....
-
Aug 13th, 2002, 04:27 PM
#11
So Unbanned
By this you'd have to VPN(virtual private network). Win2k can do it.
-
Aug 13th, 2002, 04:27 PM
#12
So Unbanned
Or you could call the other person modem to modem.
-
Aug 13th, 2002, 04:27 PM
#13
The picture isn't missing
filesharing requires at least 1 person not firewalled between the two transfering files.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 13th, 2002, 04:30 PM
#14
So Unbanned
You probably have atleast one open port that you can map to a different port. Locally.
-
Aug 13th, 2002, 04:33 PM
#15
So Unbanned
You could purchase a shell account and run what you want there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|