[Preston] Centos

John john.rushe at tiscali.co.uk
Mon Jan 10 22:29:54 GMT 2005


Hi John,

There is an iptables how-to on tldp.org. It's not vastly different from 
ipchains to be honest... It all depends on which ports you want to open up 
and which you don't... Not very helpful I know but there are a zillion 
permutations when it comes to netfiltering.... If this is an internet facing 
machine, be very careful...

John
----- Original Message ----- 
From: "John Craven" <johnc at ukzone.com>
To: "Preston and Lancashire Linux User Group" <preston at mailman.lug.org.uk>
Sent: Monday, January 10, 2005 8:42 PM
Subject: Re: [Preston] Centos


> Thanks John...
> I have installed centros.
> I did disable the firewall then got in then set iptables using setup.
> However, when I said that I have never used iptables I haven't.
> I know that it is not a good idea to allow eth0 but I do need to allow 
> certain ip addresses to have access via eth0.
> This is what I am unsure about - at the moment.
>
> Cheers,
>
> John C
>
>
> At 19:42 10/01/2005 +0000, you wrote:
>
>>Initially, you can flush all the iptables rules with:
>>
>>iptables -F
>>
>>if you want a quick way to get in. However, I would recommend adding:
>>
>>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j 
>>ACCEPT
>>
>>(assuming you are using Red Hat??) to /etc/sysconfig/iptables.
>>
>>if /etc/sysconfig/iptables doesn't exist you can sav your existing rules:
>>
>>iptables-save /etc/sysconfig/iptables
>>
>>and then vi this file and insert the above rule.
>>
>>you can then iptables-restore /etc/sysconfig/iptables
>>
>>Cheers
>>
>>John
>>in your input table.
>>----- Original Message ----- From: "John Craven" <johnc at ukzone.com>
>>To: "Preston and Lancashire Linux User Group" <preston at mailman.lug.org.uk>
>>Sent: Monday, January 10, 2005 7:20 PM
>>Subject: Re: [Preston] Centos
>>
>>
>>>Hi again John...
>>>I had a brainwave and realised that the firewall was keeping me out.
>>>However, it uses iptables and I'm not used to this. I have always used 
>>>ipchains.
>>>I will have to get used to iptables.
>>>
>>>I would appreciate it if I could call on you for advise as I plough my 
>>>through this...
>>>
>>>Thanks,
>>>
>>>John C
>>>
>>>
>>>At 17:58 10/01/2005 +0000, you wrote:
>>>
>>>>John,
>>>>
>>>>Post your /etc/ssh/sshd_config and I'll take a look for you...
>>>>
>>>>Cheers
>>>>
>>>>John
>>>>----- Original Message ----- From: "John Craven" <johnc at ukzone.com>
>>>>To: <jon at fairserve.org>; "Preston and Lancashire Linux User Group" 
>>>><preston at mailman.lug.org.uk>
>>>>Sent: Monday, January 10, 2005 2:55 PM
>>>>Subject: Re: [Preston] Centos
>>>>
>>>>
>>>>>I have now installed centros.
>>>>>I cannot ssh into it from remote computer. sshd is runing.
>>>>>Can anybody tell me what I need to do to allow ssh2 access.
>>>>>
>>>>>Thanks,
>>>>>
>>>>>John C
>>>>>
>>>>>
>>>>>At 15:18 07/01/2005 +0000, you wrote:
>>>>>
>>>>>>Yes, using 'yum update'
>>>>>>Has worked very well so far for me.
>>>>>>
>>>>>>Jon
>>>>>>
>>>>>>On Friday 07 January 2005 15:06, John Craven wrote:
>>>>>>>Thanks Jon...
>>>>>>>Are updates automatic, do you know ???
>>>>>>>I know that RHEL is.
>>>>>>>
>>>>>>>John C
>>>>>>>
>>>>>>>At 14:44 07/01/2005 +0000, you wrote:
>>>>>>>>I've started using it recently on my development server. I use RH
>>>>>>>>Enterprise in the data center but didn't want to spend money on > 
>>>>>>>>licences
>>>>>>>>on my development environment. Centos seems like a good idea for 
>>>>>>>>this
>>>>>>>>situation.
>>>>>>>>
>>>>>>>>Jon
>>>>>>>>
>>>>>>>>On Friday 07 January 2005 14:02, John Craven wrote:
>>>>>>>>>HAPPY NEW YEAR TO EVERYBODY....
>>>>>>>>>
>>>>>>>>>Has anybody got any experience of Centos ????
>>>>>>>>>I believe that it is a Redhat 'look-a-like'.
>>>>>>>>>
>>>>>>>>>Thanks,
>>>>>>>>>
>>>>>>>>>John C
>>>>>>>>>
>>>>>>>>>=================================================
>>>>>>>>>
>>>>>>>>>  Check out our British Country Music Web Sites
>>>>>>>>>
>>>>>>>>>        http://www.countrymusic.org.uk
>>>>>>>>>        http://www.bcmi-radio.co.uk
>>>>>>>>>
>>>>>>>>>        Over 70,000 visitors a week
>>>>>>>>>
>>>>>>>>>=================================================
>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>Preston mailing list
>>>>>>>>Preston at mailman.lug.org.uk
>>>>>>>>http://mailman.lug.org.uk/mailman/listinfo/preston
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>--
>>>>>>>>No virus found in this incoming message.
>>>>>>>>Checked by AVG Anti-Virus.
>>>>>>>>Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 
>>>>>>>>06/01/2005
>>>>>>>
>>>>>>>=================================================
>>>>>>>
>>>>>>> Check out our British Country Music Web Sites
>>>>>>>
>>>>>>>       http://www.countrymusic.org.uk
>>>>>>>       http://www.bcmi-radio.co.uk
>>>>>>>
>>>>>>>       Over 70,000 visitors a week
>>>>>>>
>>>>>>>=================================================
>>>>>>
>>>>>>_______________________________________________
>>>>>>Preston mailing list
>>>>>>Preston at mailman.lug.org.uk
>>>>>>http://mailman.lug.org.uk/mailman/listinfo/preston
>>>>>>
>>>>>>
>>>>>>
>>>>>>-- No virus found in this incoming message.
>>>>>>Checked by AVG Anti-Virus.
>>>>>>Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 06/01/2005
>>>>>
>>>>>=================================================
>>>>>
>>>>>Check out our British Country Music Web Sites
>>>>>
>>>>>      http://www.countrymusic.org.uk
>>>>>      http://www.bcmi-radio.co.uk
>>>>>
>>>>>      Over 70,000 visitors a week
>>>>>
>>>>>=================================================
>>>>>
>>>>>
>>>>>-- No virus found in this outgoing message.
>>>>>Checked by AVG Anti-Virus.
>>>>>Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 06/01/2005
>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Preston mailing list
>>>>>Preston at mailman.lug.org.uk
>>>>>http://mailman.lug.org.uk/mailman/listinfo/preston
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>Preston mailing list
>>>>Preston at mailman.lug.org.uk
>>>>http://mailman.lug.org.uk/mailman/listinfo/preston
>>>>
>>>>
>>>>
>>>>-- No virus found in this incoming message.
>>>>Checked by AVG Anti-Virus.
>>>>Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 06/01/2005
>>>
>>>=================================================
>>>
>>> Check out our British Country Music Web Sites
>>>
>>>       http://www.countrymusic.org.uk
>>>       http://www.bcmi-radio.co.uk
>>>
>>>       Over 70,000 visitors a week
>>>
>>>=================================================
>>>
>>>
>>>-- 
>>>No virus found in this outgoing message.
>>>Checked by AVG Anti-Virus.
>>>Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 06/01/2005
>>>
>>>
>>>
>>>_______________________________________________
>>>Preston mailing list
>>>Preston at mailman.lug.org.uk
>>>http://mailman.lug.org.uk/mailman/listinfo/preston
>>
>>
>>
>>_______________________________________________
>>Preston mailing list
>>Preston at mailman.lug.org.uk
>>http://mailman.lug.org.uk/mailman/listinfo/preston
>>
>>
>>
>>-- 
>>No virus found in this incoming message.
>>Checked by AVG Anti-Virus.
>>Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 06/01/2005
>
> =================================================
>
>  Check out our British Country Music Web Sites
>
>        http://www.countrymusic.org.uk
>        http://www.bcmi-radio.co.uk
>
>        Over 70,000 visitors a week
>
> =================================================
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.299 / Virus Database: 265.6.9 - Release Date: 06/01/2005
>
>
>
> _______________________________________________
> Preston mailing list
> Preston at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/preston 





More information about the Preston mailing list