Slirp-like port redirection under PPP?

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!
dbwongAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dirgeCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dirgeCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.