OpenVZ Forum


Home » General » Support » Setup multiple assigned IP blocks for IPtable firewall
Setup multiple assigned IP blocks for IPtable firewall [message #40733] Sat, 25 September 2010 17:42 Go to next message
tdog6093 is currently offline  tdog6093
Messages: 1
Registered: September 2010
Location: United States
Junior Member
Hello,

Kernel: 2.6.18-194.8.1.el5.028stab070.5 64bit
Control Panel: SolusVM

I setup http://wiki.openvz.org/Setting_up_an_iptables_firewall

I am wondering how to setup multiple IP blocks. When I tried setting them up in the SEGMENT like follows

192.168.1.0/24 10.10.10.0/24 I received the following error

Firewall: Setting default policies to DROPBad argument `10.10.10.0/24'
Try `iptables -h' or 'iptables --help' for more information.

Just wondering I have several blocks of IP addresses assigned from the DC that runs on multiple servers.
Re: Setup multiple assigned IP blocks for IPtable firewall [message #40744 is a reply to message #40733] Mon, 27 September 2010 18:00 Go to previous message
TheStig is currently offline  TheStig
Messages: 94
Registered: December 2008
Member
try exec the script via
bash -x /etc/init.d/firewall start

and look up the command that produces this error.
Previous Topic: IPs constantly disconnecting
Next Topic: kmemsize, shmpages: failcnt>0 while maxheld<barrier
Goto Forum:
  


Current Time: Mon Jul 15 10:01:28 GMT 2024

Total time taken to generate the page: 0.02356 seconds