LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2012, 03:34 AM   #1
weylin
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Rep: Reputation: 0
Can't SSH to local ubuntu server after putting it into DMZ mode


So I put the ip of my server in DMZ mode because I am experimenting with hosting a website from home and now I cannot SSH into it.
 
Old 04-25-2012, 03:48 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ok, so... that's a bad thing..? you want help to make that not the case?

Might help to explain what you actually did... sounds like something a firewall widget would do... can you not walk up to the machine, login locally and change it back?
 
Old 04-25-2012, 03:53 AM   #3
weylin
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Its working now I guess i just needed to reset the network connection?, I ended up just rebooting the server, I tired ifconfig down , ifconfig up , but this didn't work, I also tried dhclient which didn't work either, what is the best way to ipconfig/release renew in ubuntu server?
 
Old 04-25-2012, 04:38 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
what is the best way to ipconfig/release renew in ubuntu server?
Sorry, I didn't get. Can you explain it?
 
Old 04-25-2012, 04:40 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well, you should never be renewing a lease on a server, as a server shouldn't be using DHCP...
 
Old 04-25-2012, 05:02 AM   #6
weylin
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Satyaveer Arya View Post
Sorry, I didn't get. Can you explain it?
I don't understand what is so confusing. ipconfig/release , ipconfig/renew , how to do this on linux, as i mentioned i tried ifconfig eth1 down, ifconfig eth1 up, but this didn't work, i also tried using dhclient which didn't work either, as I already said. I ended up having to reboot the server completely which is what i was trying to avoid.
 
Old 04-25-2012, 05:03 AM   #7
weylin
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
well, you should never be renewing a lease on a server, as a server shouldn't be using DHCP...
I want to host a simple website from home, but I do not want to pay for an expensive business account for a static ip. As i understand from my reading so far this should be possible to do. My WAN ip changes once in a blue moon, and my lan ip is always the same 192.168.1.whatever. So i really dont see the point in paying for a business account from my isp, i actually dont mind having to go in and change things if the ip changes.

Last edited by weylin; 04-25-2012 at 05:18 AM.
 
Old 04-25-2012, 05:06 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you wouldn't use the tools directly, but use the wrapper services around them, as that's how the defined configuration files get into the question. I would personally just restart the network service - "sudo /etc/init.d/networking restart"

---------- Post added 25-04-12 at 11:07 AM ----------

Quote:
Originally Posted by weylin View Post
as i said, i am experimenting with hosting a website from home for fun, so patronizing me about using dhcp isn't really answering my question or helping at all.
and accusing people helping you of being patronizing isn't a great idea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP Server configure in local mode pankajguptaspn Linux - General 7 02-06-2012 03:20 AM
can't login network server through ssh after putting main computer to sleep truthe Linux - Networking 5 07-26-2009 01:41 AM
Xen - Firewall, DMZ and local server on one box healyma Linux - Server 4 02-27-2009 11:21 AM
why does FTP server send local network address in passive mode? edesmarais Linux - Newbie 11 03-16-2005 12:33 AM


All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration