I am looking to write a VB.NET windows app or service to do simple HTTP port forwarding. This is normally done within my router, but I have more forwards to do than the router can support (10) so I would like to do it programatically.
Quite simply, an HTTP request would come in on a port where the application/service is running, and it would automatically forward the conversation to another IP address and port. That way, my router could forward a range of ports to one machine (where the application/service would be running) and the application/service would dole the requests out to the various IP/Port combinations it was listening for.
If not sample code, could someone point me to the correct namespace/classes in order to accomplish this?
Port Forwarding with VB.NET
Page 1 of 1
How to code a VB.NET app to do Port Forwarding
1 Replies - 3968 Views - Last Post: 06 April 2010 - 10:20 AM
Replies To: Port Forwarding with VB.NET
Re: Port Forwarding with VB.NET
Posted 06 April 2010 - 10:20 AM
Well you could do that with Sockets in .net but you would need to do some, mashing. you will need a listener and a client. You will also need to format binary data so its suitable for travel between computers. Remember this is risky as you are opening ports on your computer for data to be sent and received. So you will need to encrypt all data.
Page 1 of 1