[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CREATING NAT BY PROGRAM BULDING IN DELPHI

Posted on 2006-05-19
8
Medium Priority
?
160 Views
Last Modified: 2010-04-05
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




0
Comment
Question by:rafaelrgl
  • 5
  • 3
8 Comments
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 16747764
You can telnet into most routers to configure them.
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 :-)
0
 
LVL 1

Author Comment

by:rafaelrgl
ID: 16827722
the problem is i don't know how to creat by indy component or sockets. can you help me.
0
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 16837343
does "telnet' in dos work though? (as above) I can help you, but only if I know what can work for your situation
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:rafaelrgl
ID: 16848813
does not work, I Tested right now.
0
 
LVL 1

Author Comment

by:rafaelrgl
ID: 16848828
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
0
 
LVL 1

Author Comment

by:rafaelrgl
ID: 17046170
what about this question, somebody can help me?
0
 
LVL 1

Author Comment

by:rafaelrgl
ID: 17140650
what about this question????????????????????/
0
 
LVL 17

Accepted Solution

by:
TheRealLoki earned 2000 total points
ID: 17142134
hmm, yes it looks like the telnet has been disabled on osme D lInk 500gs on and off since 2002
1 solution would be to use something like TIdHTTP and post commands to the router
Sorry, I do not have enough knowledge in this area, but Russel (rllibby) does. He may spot this question and be able to help
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 22 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question