[newbie] Dynamic IP
Hi Guys I'm using Mandrake 9 and enjoy using it, so far with no major headaches. I would now like to set up a mail server with web access for my own use whilst travelling (I'm going to South Africa on holioday tomorrow). I have a cable connection with a dynamically assigned IP and using a Linksys DSL/Cable router with my Linux PC connected via one of the available 4 LAN ports. Having set up an account with no-ip.com I have installed the client on my pc and think it updates my IP automatically, however I am a bit confused with where the router fits into all this. If my Dynamic IP changes the router will automatically remain connected. I have set up Mandrake using a static IP, and enabled a route to the PC using the routers DMZ function. Can I safely assume that this would give me access to my PC, just by entering the blahblah.no-ip.com address ? Does anyone have any suggestions for a webmail server ? I know the easiest way is just to forward all my mail to my ISP's facility - but thats not why I changed over to Linux a few years ago. I trust someone has a similar setup and can chuck me a few pointers. Regards Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
Well, I have a somewhat similar situation and I have an account for Dynamic DNS with tzo.com. I do not have a black box router though. My router is a Linux box running ssh. So I just ssh to this box first and then I can ssh to my internal machines from there. Does your router have any such telnet/ssh facility? Port forwarding to your internal machine can also work if your router privides that. i.e you can set it up such that any connections to port 22 (ssh) get redirected to port 22 on the internal machine. Just some thoughts. Nikunj. --- Mark Annandale [EMAIL PROTECTED] wrote: Hi Guys I'm using Mandrake 9 and enjoy using it, so far with no major headaches. I would now like to set up a mail server with web access for my own use whilst travelling (I'm going to South Africa on holioday tomorrow). I have a cable connection with a dynamically assigned IP and using a Linksys DSL/Cable router with my Linux PC connected via one of the available 4 LAN ports. Having set up an account with no-ip.com I have installed the client on my pc and think it updates my IP automatically, however I am a bit confused with where the router fits into all this. If my Dynamic IP changes the router will automatically remain connected. I have set up Mandrake using a static IP, and enabled a route to the PC using the routers DMZ function. Can I safely assume that this would give me access to my PC, just by entering the blahblah.no-ip.com address ? Does anyone have any suggestions for a webmail server ? I know the easiest way is just to forward all my mail to my ISP's facility - but thats not why I changed over to Linux a few years ago. I trust someone has a similar setup and can chuck me a few pointers. Regards Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
On Tuesday 03 Dec 2002 4:23 pm, Nikunj Bansal wrote: Well, I have a somewhat similar situation and I have an account for Dynamic DNS with tzo.com. I do not have a black box router though. My router is a Linux box running ssh. So I just ssh to this box first and then I can ssh to my internal machines from there. Does your router have any such telnet/ssh facility? Port forwarding to your internal machine can also work if your router privides that. i.e you can set it up such that any connections to port 22 (ssh) get redirected to port 22 on the internal machine. Just some thoughts. Thanks for your advice. I can do port forwarding with my router, just wasn't sure about what ports to use - or how to use SSH - any pointers :-) ? regards Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
Sure. Your distro CDs should have the OpenSSH software. The RPMs are named like openssh-common, openssh-server, openssh-client. Install them on ur Linux box. The installation will also create a default setup good to go as a server on port 22. You can tweak all that in /etc/ssh/sshd.conf. Test it out by issuing the ssh localhost command. It should connect, ask you for ur login password and drop you into a shell. No need to use the insecure telnet afterwards. SSH sessions are secured using encryption. Lots of enhancements can be done using SSH. Stuff like tunneling other insecure protocols like IMAP or X over the SSH channel, doing client authentication using client keys or single sign on to the entire network can be achieved easily using SSH. There is even a secure file copy (scp) along with it. Rest is RTFM :-) Nikunj. --- Mark Annandale [EMAIL PROTECTED] wrote: On Tuesday 03 Dec 2002 4:23 pm, Nikunj Bansal wrote: Well, I have a somewhat similar situation and I have an account for Dynamic DNS with tzo.com. I do not have a black box router though. My router is a Linux box running ssh. So I just ssh to this box first and then I can ssh to my internal machines from there. Does your router have any such telnet/ssh facility? Port forwarding to your internal machine can also work if your router privides that. i.e you can set it up such that any connections to port 22 (ssh) get redirected to port 22 on the internal machine. Just some thoughts. Thanks for your advice. I can do port forwarding with my router, just wasn't sure about what ports to use - or how to use SSH - any pointers :-) ? regards Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
Oh, I shud have mentioned. There are other RPMs named openssh-*. You might need or want to install some or all of those also. Good luck. --- Nikunj Bansal [EMAIL PROTECTED] wrote: Sure. Your distro CDs should have the OpenSSH software. The RPMs are named like openssh-common, openssh-server, openssh-client. Install them on ur Linux box. The installation will also create a default setup good to go as a server on port 22. You can tweak all that in /etc/ssh/sshd.conf. Test it out by issuing the ssh localhost command. It should connect, ask you for ur login password and drop you into a shell. No need to use the insecure telnet afterwards. SSH sessions are secured using encryption. Lots of enhancements can be done using SSH. Stuff like tunneling other insecure protocols like IMAP or X over the SSH channel, doing client authentication using client keys or single sign on to the entire network can be achieved easily using SSH. There is even a secure file copy (scp) along with it. Rest is RTFM :-) Nikunj. --- Mark Annandale [EMAIL PROTECTED] wrote: On Tuesday 03 Dec 2002 4:23 pm, Nikunj Bansal wrote: Well, I have a somewhat similar situation and I have an account for Dynamic DNS with tzo.com. I do not have a black box router though. My router is a Linux box running ssh. So I just ssh to this box first and then I can ssh to my internal machines from there. Does your router have any such telnet/ssh facility? Port forwarding to your internal machine can also work if your router privides that. i.e you can set it up such that any connections to port 22 (ssh) get redirected to port 22 on the internal machine. Just some thoughts. Thanks for your advice. I can do port forwarding with my router, just wasn't sure about what ports to use - or how to use SSH - any pointers :-) ? regards Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
hi Mark, ssh runs on port 22, so if you want to ssh into your machine, open port 22 on your router and forward it to the internal ip of your Mandrake box. to give my take on your original question, you can use the following combination for your webmail. Mail Transport Agent - postfix Imap - courier Web server - apache Webmail - squirrelmail as always there are alternatives, but this combination was suggested for simplicity of installation and availability of rpms for Mandrake. remember you may also have to perform the forwarding on your router for port 80 (for webmail) and port 25 (for postfix) - Original Message - From: Mark Annandale [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 12:30 AM Subject: Re: [newbie] Dynamic IP On Tuesday 03 Dec 2002 4:23 pm, Nikunj Bansal wrote: Well, I have a somewhat similar situation and I have an account for Dynamic DNS with tzo.com. I do not have a black box router though. My router is a Linux box running ssh. So I just ssh to this box first and then I can ssh to my internal machines from there. Does your router have any such telnet/ssh facility? Port forwarding to your internal machine can also work if your router privides that. i.e you can set it up such that any connections to port 22 (ssh) get redirected to port 22 on the internal machine. Just some thoughts. Thanks for your advice. I can do port forwarding with my router, just wasn't sure about what ports to use - or how to use SSH - any pointers :-) ? regards Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
Thanks for all the help thats come flooding in. However, whilst SSH seems the way to go, it poses another question. If I were to enable ssh on my PC, I think its unlikely that the PC I was using from the remote site would have the necessary clients available. I can see the advantages if you were ssh'ing from another PC on which you could load the necessary clients. It is now looking like the only route is a webmail type of setup. I imagine the PC's I'm going to have access to while away will be internet cafe machines. Thanks again. Mark A Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
Hi, Sorry to mail you off list. I have apache, router and dyndns all working fine. Where could I find a suqirrellmail RPM ? Is it fairly easy to set up ? What is the purpose of using Courier ? Thanks again Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
I got the download from their home (http://www.squirrelmail.org/) It was painfully easy to install and get operational. It seems like it is very adaptable - so far so good! Jordan - Original Message - From: Mark Annandale [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 2:15 PM Subject: Re: [newbie] Dynamic IP Hi, Sorry to mail you off list. I have apache, router and dyndns all working fine. Where could I find a suqirrellmail RPM ? Is it fairly easy to set up ? What is the purpose of using Courier ? Thanks again Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Dynamic IP
hi mark, i assume you're refering to me. and no, you didn't mail me off list, but on list. :) mandrake specific packages for courier imap and squirrelmail can be found at http://fr.rpmfind.net exact urls are (on one line) http://fr.rpmfind.net/linux/rpm2html/search.php?query=couriersubmit=Search+ ...system=mandrakearch= and http://fr.rpmfind.net/linux/rpm2html/search.php?query=couriersubmit=Search+ ...system=mandrakearch= simply put, postfix is the interface with the internet to process your mail, and courier is the interface between your email software and postfix. in this case, the email software is squirrelmail, since you require webmail. a web search on google will give you much better explanations as well as configuration than i can. off hand, Derek Jenning's site at http://www.jennings.homelinux.net/ has a concise and easy to follow guide on setting postfix with courier. after than, squirrelmail should be easy to configure by editing config.php in the squirrelmail installation. hope i helped. :) - Original Message - From: Mark Annandale [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 3:15 AM Subject: Re: [newbie] Dynamic IP Hi, Sorry to mail you off list. I have apache, router and dyndns all working fine. Where could I find a suqirrellmail RPM ? Is it fairly easy to set up ? What is the purpose of using Courier ? Thanks again Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Dynamic IP?
If it wasn't for bad luck, well you know the rest. For 4 months now (the entire time I have had roadrunner) I have had the exact same IP number. Now RoadRunner decided they wanted to change it I guess. So now my .html files all have the wrong links on them. Am I gonna have to edit my html files (for apache) everytime they change my IP or is there a way around this?
RE: [newbie] Dynamic IP?
This mean you have to pay for fixed IP which is also provided by RoadRunner. The cost for Fixed IP about $80.00 USD/month. They will give you 1 fixed IP and 4 dynamic IP + 1 Cisco Router. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jon Doe Sent: Wednesday, August 01, 2001 6:36 PM To: [EMAIL PROTECTED] Subject: [newbie] Dynamic IP? If it wasn't for bad luck, well you know the rest. For 4 months now (the entire time I have had roadrunner) I have had the exact same IP number. Now RoadRunner decided they wanted to change it I guess. So now my .html files all have the wrong links on them. Am I gonna have to edit my html files (for apache) everytime they change my IP or is there a way around this? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: [newbie] Dynamic IP?
one other way, is when you get a dynamic dns, they give you a name (like jons.ods.org) that way, you can allways point to the complete named URL, and as the IP changes, you update the dynimic dns servers database with your current IP number. On Wednesday 01 August 2001 21:35, Jon Doe wrote: If it wasn't for bad luck, well you know the rest. For 4 months now (the entire time I have had roadrunner) I have had the exact same IP number. Now RoadRunner decided they wanted to change it I guess. So now my .html files all have the wrong links on them. Am I gonna have to edit my html files (for apache) everytime they change my IP or is there a way around this?
Re: [newbie] Dynamic IP?
sure you can use a relative path from the same directory where the index file resides if you write a href=http://jons_linuxbox.org/wrongstuff/pics/jons.jpg;, and the page is in your folder /var/www/html, you could just write a href=/wrongstuff/pics/jons.jpg might I make another suggestion, I am on a mail list from wired magazine (www.wired.com) called webmonkey, lots of links to what I think you might call neat. On Wednesday 01 August 2001 21:35, you had thoughts to the concept of: If it wasn't for bad luck, well you know the rest. For 4 months now (the entire time I have had roadrunner) I have had the exact same IP number. Now RoadRunner decided they wanted to change it I guess. So now my .html files all have the wrong links on them. Am I gonna have to edit my html files (for apache) everytime they change my IP or is there a way around this?
[newbie] dynamic ip server installation
Hi all, i installed succesfully M7.1, i selected server installation, like i did on my laptop a few months ago. There is a difference however: the laptop has a fixed ip, the workstation has a dynamic ip. Is it possible that some serverdaemons are not starting because of the dynamic ip? On my laptop i didn't need to do anything to get Apache up 'n running. On the workstation it won't start ("could not determine local hostname) thx for your suggestions. Pieter