Solved

Slirp-like port redirection under PPP?

Posted on 1997-09-07
2
239 Views
Last Modified: 2011-10-03
Before getting PPP to work, I used slirp.  Using the "telnet 10.0.2.0" and "redir remote_port to_local_port" I was able to allow people to telnet, ftp, and bring up local webpages on my machine.  Now that I can use PPP, I would like to do the same thing by redirecting ports.

Why not just use the IP address given me?  Why not use
http://IP-ADDRESS ?  Because it changes at each login.  I would like a "static" address (i.e. remote_host:port#), otherwise no one but me would know what the "new" address is each time.  I have my machine homepage setup such that if anyone loads that page, http://www.isp-host:PORT-NUMBER/, they will obviously know I'm on and be able to hit a hyperlink to telnet in (for remote friends who don't have talk/ytalk:). This is the only reason I still prefer slirp to PPP.

I am running Debian 1.3.1 and Linux kernel 2.0.30 .  I have tried the "redir" command, but either that's not what the program is for or I'm using it incorrectly.

Thanks!
0
Comment
Question by:dbwong
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
dirge earned 100 total points
ID: 1586475
Now that you have PPP and a non-static IP address, I think there is a better solution: go to http://www.ml.org/ and apply for a free DYNDNS (dynamic dns) account. This account will give you a URL like http://dbwong.dyn.ml.org/ (and I believe, *.dbwong.dyn.ml.org as well, e.g. ftp.dbwong..., www.dbwong... etc)

This is how it works: You need to run a DYNDNS client (see http://www.ml.org/dyndns/) -- also free -- each time you make a successful PPP connection. There is a script (/etc/ppp/ip-up, at least in Slackware) that you can modify to run this client automatically.

(I personally use the MLDDC client. If you have problems setting this up, leave a comment for me here.)

This client sends the necessary information to ml.org, which then updates its DNS to reflect your new IP address. Updates to the DNS are made every 10 minutes, after which your Linux system is accessible to everyone via your fixed subdomain name.

Great, eh? Have fun like I did!

Regards,
dirge

0
 
LVL 1

Expert Comment

by:dirge
ID: 1586476
Me again. To get www.dbwong.dyn.ml.org, ftp.dbwong.dyn.ml.org, etc. make sure to check Wildcard Alias when you create the account. These aliases will resolve to your current IP address.

Enjoy!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now