rafaelrgl
asked on
CREATING NAT BY PROGRAM BULDING IN DELPHI
I have problem's creating NAT in my client moldem d-link 500g, so I decide add a function in my program for do that, but I don't know how do that.
That's becouse I can't go there for just do that to him. It's too far away.
so,
He has 15 computers.
IP Server is 10.1.1.100 This ip is fixed. It can't be change.
IP Router D-Link 500G is 10.1.1.1
My program use port 1525
That's becouse I can't go there for just do that to him. It's too far away.
so,
He has 15 computers.
IP Server is 10.1.1.100 This ip is fixed. It can't be change.
IP Router D-Link 500G is 10.1.1.1
My program use port 1525
ASKER
the problem is i don't know how to creat by indy component or sockets. can you help me.
does "telnet' in dos work though? (as above) I can help you, but only if I know what can work for your situation
ASKER
does not work, I Tested right now.
ASKER
I forgot to say, I try to connect using telnet by this command.
>>> o 10.1.1.1
It sad:
could not open connection to the host, on port 23: Connect Failed
>>> o 10.1.1.1
It sad:
could not open connection to the host, on port 23: Connect Failed
ASKER
what about this question, somebody can help me?
ASKER
what about this question?????????????????? ??/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this and see if that is at least posssible from your location
telnet 10.1.1.1
If this works, and you work out the appropriate commands to configure it how you wish, you could then doit programatically by using sockets, ICS, or Indy.
However, some routers do not allow telnet from the outside of their controlled lans
In this case you probably wont be able to do much.
Let me know if I've got the wrong end of the stick, and provide a bit more detial if I'm wrong :-)