LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-01-2006, 08:12 PM   #46
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30

well luckily my cronjob worked i have access to my server again.

im aware of my messed up setup. its becasue of my VPS host setup my VPS weird theres some screwy cruical enviroment files and stuff missing blah blah blah.

i really wouldnt be having this much trouble i dont think if stuff worked as tutorial guides expect them to. i can usualy easily catch on to these kind of things after seeing a similiar example.


i jsut did the script again to see if i could copy and paste it before the window disconnects/closes (btw im using putty for my ssh client if that matters)

[root@vps local]# ./iptables_script
iptables: No chain/target/match by that name
 
Old 08-02-2006, 07:23 AM   #47
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by MrSako
[root@vps local]# ./iptables_script
iptables: No chain/target/match by that name
my best guess is that your hosting provider has disabled the NAT and Mangle tables... but the output is not verbose enough to determine that... which script where you executing?? you need to find-out which command in the script is causing this error...

Quote:
if i type in this line by line...
that would just cause you to get locked-out, as you would never get to the INPUT rules in time...

Last edited by win32sux; 08-02-2006 at 07:37 AM.
 
Old 08-02-2006, 09:49 PM   #48
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
i can execute the script you gave me if i take out the stuff with --state stuff in it. i sent this infromation to my host. of course they havent responded yet
 
  


Reply



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
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
10.0 creating problems with iptables ryedunn Mandriva 1 03-15-2004 12:11 AM
iptables -creating logs chrisfirestar Linux - Security 5 02-13-2004 07:17 AM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:28 PM.

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