
| This forum is proudly powered by Scientific Linux 6 | SL website Download SL Help Search Members |
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| thekat |
Posted: Jun 30 2011, 07:39 PM
|
|||||||
|
SLF Rookie ![]() Group: Members Posts: 19 Member No.: 35 Joined: 11-April 11 |
I am finally getting back to my spacewalk server and have run into an issue with IPtables.. Per the Spacewalk Oracle installation this is the code you use for IpTables..
When I apply this code.. I get the following error:
and I get locked out of the box... I can disable the firewall via the console and get back in but in the case of SpaceWalk .. Oracle has "way too many" vulnerabilities per our scanning SW.. so I need to use a host based FW.. Here is the default iptables config for SL 6
Thx for any assistance.. tk |
|||||||
| thekat |
Posted: Jun 30 2011, 08:49 PM
|
|||
|
SLF Rookie ![]() Group: Members Posts: 19 Member No.: 35 Joined: 11-April 11 |
Ok.. I got it..
I manually put in the rules above port 22 tk |
|||
| helikaon |
Posted: Jul 1 2011, 08:19 AM
|
|||
![]() SLF Moderator ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 514 Member No.: 4 Joined: 8-April 11 |
Exactly :-) anyway, if you need to do any more serious work with iptables, best is to make a runable shell script. this is e.g. on my laptop:
at beginning all iptables rules get erased, then default policies are set, then rules are set If i need to add anything, i add it to this script, run and run it. Then, if i'm happy with what i have i just 'service iptables save', if i'm not happy, 'service iptables restore' to get back original setting (or correct script and run it again). cheers, -------------------- |
|||
| thekat |
|
|||||
|
SLF Rookie ![]() Group: Members Posts: 19 Member No.: 35 Joined: 11-April 11 |
Thx for the pointer.. the restore part will help.. Oracle has a LOT of vulnerabilities so have to use a firewall "protect" it.. |
|||||
| helikaon |
Posted: Jul 1 2011, 01:05 PM
|
|||
![]() SLF Moderator ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 514 Member No.: 4 Joined: 8-April 11 |
Indeed I'd add, it likes to 'wolf down' resources too cheers, -------------------- |
|||
| satnn |
Posted: Nov 18 2011, 08:55 PM
|
|||||
![]() SLF Junior ![]() ![]() Group: Members Posts: 28 Member No.: 1028 Joined: 13-November 11 |
Thank you for the great suggestion. It worth browsing around .
|
|||||
![]() |
![]() ![]() ![]() |