LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2005, 06:15 AM   #1
fedoen
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Misconfigured iptables


I misconfigured my iptables, I got a command line from a site and now I cannot connect to my computer anymore. Is there anyway I can remotely reboot my computer whithout ssh support?
 
Old 09-07-2005, 06:42 AM   #2
FrankP
Member
 
Registered: Aug 2003
Location: Britain
Distribution: AntiX, Debian, Gentoo
Posts: 65

Rep: Reputation: 18
Is this for a colocated machine in a data center? The access you get depends on the provider. My one gave me two sets of login details at the start of the contract, one for SSH access to the box itself and one into an admin shell which I could reboot from.
 
Old 09-07-2005, 04:41 PM   #3
jludwig
Member
 
Registered: Feb 2004
Distribution: FC6
Posts: 32

Rep: Reputation: 15
run from a terminal
root@host># iptables -v -n -L

This will give all the rules and what rules were used.
Try getting to the server again and this should show what rule is blocking the connection.
 
Old 09-08-2005, 04:51 AM   #4
fedoen
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I solved the problem by mannually rebooting the system. But I wanted to know if there is other way but the shell to remote reboot a linux system.
 
Old 09-08-2005, 03:58 PM   #5
jludwig
Member
 
Registered: Feb 2004
Distribution: FC6
Posts: 32

Rep: Reputation: 15
You could restart iptables and networking;
-> service iptables restart
-> service network restart
 
Old 09-08-2005, 04:17 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
jludwig - I think you missed the point. He had no access to the system. No root prompt.
 
  


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
Misconfigured DVD burner. dcolem Linux - Hardware 1 11-20-2005 07:46 PM
Gentoo- keyboard and x server misconfigured Adony Linux - Software 2 10-20-2004 03:59 PM
Misconfigured X ?? dave111 Slackware 7 09-05-2004 02:56 PM
Misconfigured hostname? bluefire Linux - General 4 08-26-2004 04:29 PM
MIT has a misconfigured server OlRoy Linux - Security 2 03-29-2004 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:10 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
Open Source Consulting | Domain Registration