LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-11-2005, 06:58 AM   #1
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
setting rules in iptables through ssh


hi,

I am using ssh to connect to remote machine.Everytime when i want to set up rules in the iptables, it doesn't work.

Recently i need to connect to the vncserver and changed the iptable rule for opening the port 5901.

I found this rule added to the iptables (iptables --list), but still unable to connect.

This is not the first time i am experiencing this and everytime i had to go to the physical location and get the rule affected by entring through GUI.


Any help regarding this.


Thanks in advance,
biju.
 
Old 11-11-2005, 08:59 PM   #2
Mad Scientist
Member
 
Registered: May 2003
Posts: 167

Rep: Reputation: 30
I guess I don't understand what the problem is. I would create a firewall script on the remote machine, and if the script needs changing from time to time, then SSH to the remote machine, edit the script, and rerun it to get your new firewall settings.

http://wiki.linuxquestions.org/wiki/Iptables
 
  


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
Iptables Rules metallica1973 Linux - Security 26 09-14-2005 01:10 AM
IPTABLES - rules in /etc/sysconfig/iptables The_JinJ Linux - Newbie 6 11-20-2004 02:40 AM
iptables rules for ssh Loke Linux - Security 4 09-12-2004 06:24 PM
IPTables rules dkny01 Linux - Networking 6 10-23-2003 01:52 AM
iptables rules Darin Linux - Security 1 01-23-2003 05:32 PM


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