phonk Posted August 12, 2011 Share Posted August 12, 2011 Hello there, I have a little problem: My setup at home forces me to build a tool for port forwarding / NAT. The tool should do the following: It should run on the server (ip xxx.xxx.xxx.111) listening to port 1234, if any other machine in the network will connect to that port the server should connect it to ip xxx.xxx.xxx.1 port 1234 For example: On a laptop, I open in a browser and type xxx.xxx.xxx.111:1234 and it should get me the site xxx.xxx.xxx.1:1234 The protocol is TCP. Are there any examples ? Link to comment Share on other sites More sharing options...
jvanegmond Posted August 12, 2011 Share Posted August 12, 2011 On a laptop, I open in a browser and type xxx.xxx.xxx.111:1234 and it should get me the site xxx.xxx.xxx.1:1234It's obviously a web-based server. Make the server check the IP of the person who makes the request (PHP/ASP.NET), and use Location: header to redirect them. github.com/jvanegmond Link to comment Share on other sites More sharing options...
phonk Posted August 12, 2011 Author Share Posted August 12, 2011 Hello, thanks for the reply, this is only an example the main functionality will not be a webserver. Link to comment Share on other sites More sharing options...
jvanegmond Posted August 12, 2011 Share Posted August 12, 2011 Hello,thanks for the reply, this is only an example the main functionality will not be a webserver.Then what will the main functionality be?Can you describe your problem? Right now you describe the functionality of the tool. I will tell you now that it will be extremely difficult, if not impossible, to build this with the current given information. github.com/jvanegmond Link to comment Share on other sites More sharing options...
phonk Posted August 12, 2011 Author Share Posted August 12, 2011 Hello Manadar, I just found a Freeware what will do this job ... I will test it, if it not work, I will get back to AutoIT. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now