#1  
Old 24th March 2008, 18:39
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 242
Thanks: 54
Thanked 9 Times in 6 Posts
Unhappy firewall and iscsi

hi,

I have a server with iscsi disk (no internal disk)

When i start the firewall, the server is down (no acces disk)

I have open the port 3260 (udp and tcp), but i have the same problem.

How to configure Bastille for the first action is open the iscsi port.

If i execute this scripts, it's OK (ony accès with ssh por the test)

iptables -A INPUT -i eth0 -s xxx.xxx.xxx.xxx -p tcp --dport 3260 -j ACCEPT
iptables -A INPUT -i eth0 -s xxx.xxx.xxx.xxx -p udp --dport 3260 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
iptables -P INPUT DROP
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
Sponsored Links
  #2  
Old 25th March 2008, 08:04
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 242
Thanks: 54
Thanked 9 Times in 6 Posts
 
Default

I must add this rule before the drop

iptables -A OUTPUT -p tcp --dport 3260 -m state --state NEW -j ACCEPT
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.