Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How about setting the static IP at the server? Most routers use a fairly limited number of the available IP addresses for DHCP, so as long as you set the server to an IP outside of that range, it should be good.
__
That's how I normally do it. I prefer static IPs but some systems don't respond well, so I have them use DHCP...the rest are static and outside the DHCP pool.
Click here to see the post LQ members have rated as the most helpful post in this thread.
How about setting the static IP at the server? Most routers use a fairly limited number of the available IP addresses for DHCP, so as long as you set the server to an IP outside of that range, it should be good.
__
...or make a DHCP reservation for it so even if it uses DHCP it will always get the same IP.
Well, after much fiddling and begging *nix using friends to SSH to me, I can confirm it works. Just. I still can't reserve an IP for it, as the router doesn't like the hostname. It comes up with 'unknown' or a random string of characters, when it should be 'lovro'. I'm going to wipe it and put debian on anyway, fedora is unstable on this box. Maybe that will help *rolls eyes*
Oh, and I can't SSH from school, as I can't ping my IP (read from the dyndns site, school blocks my DNS), and nmap tells me it's a switch. Which means I can't get through their firewall somewhere. I'm going to keep trying, try a few different techniques.
Thanks to all who have helped, it's all been very informative and I know what to do in a few different situations now.
Last edited by Joe of Loath; 05-12-2010 at 04:40 AM.
I still can't reserve an IP for it, as the router doesn't like the hostname.
It should be reserving the IP address using your servers MAC address. If it also wants a hostname, you can put anything in there it will not affect the port forwarding.
Oh, and I can't SSH from school, as I can't ping my IP (read from the dyndns site, school blocks my DNS), and nmap tells me it's a switch. Which means I can't get through their firewall somewhere. I'm going to keep trying, try a few different techniques.
Can you telnet to it? Testing via ping is iffy since ICMP may be blocked:
telnet myhomeip 22*
* replace '22' with whatever port you're using for the SSH service
Nmap may also be blocked, especially if you're scanning against the SSH port, which is more than likely set to port 22.
Can you telnet to it? Testing via ping is iffy since ICMP may be blocked:
telnet myhomeip 22*
* replace '22' with whatever port you're using for the SSH service
Nmap may also be blocked, especially if you're scanning against the SSH port, which is more than likely set to port 22.
I would do that, except to enable external telnet on the router it wants me to give it an IP address? I have decided this router is a POS, and will try my hardest to kill it so we can upgrade to a nice DD-WRT one.
Quote:
Originally Posted by SuperJediWombat!
It should be reserving the IP address using your servers MAC address. If it also wants a hostname, you can put anything in there it will not affect the port forwarding.
Try telling the router that... It gives it a different IP every time no matter what I try.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.