The only thing in firewall.sh that uses $MYIP is:
iptables -A INPUT -s $MYIP -i ! lo -j DROP
I expect that if you simply remove that line, it would work just fine.

Ole N.Johansen wrote:
Hello List,

I need som help regarding iptables/firewall.sh

I have multiple virtual ipadresses, all official ip addresses. ( 5 ip adr total)

I need to add those into the iptables and make the iptables to work as usual, open for ssh, ftp, http, https, imap, pop3, smtp, submission, port 10000, port 20000, port 30000

Yes I have googled it and just getting more confused.

I have tested abit but just keep locking up my connectivity to the centos box.

Thanks for input.

Best Regards

Ole J



--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to