LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   About shorewall (https://www.linuxquestions.org/questions/linux-newbie-8/about-shorewall-707855/)

caitus 02-26-2009 07:45 PM

About shorewall
 
I try to configure a shorewall in my slackware but whenI give #shorewall start this stop and answer is
Running debug_restore_input...
iptables v1.4.2: Bad IP address `192.168.0.0/24'

Try `iptables -h' or 'iptables --help' for more information.
ERROR: Command "/usr/sbin/iptables -A eth0_masq -s 192.168.0.1/24 -j SNAT --to-source 192.168.0.0/24" Failed
Processing /etc/shorewall/stop ...
IPv4 Forwarding Enabled
Processing /etc/shorewall/stopped ...
/sbin/shorewall: line 742: 12741 Terminated $SHOREWALL_SHELL ${VARDIR}/.restart $debugging restart
Anybody had a solution this? sorry again for my english ,because my natural language is portuguese
Regards
Caio

kentyler 02-27-2009 01:50 PM

You should post the config for this.

Best guess is that your ip address is defined as 192.168.0.1/24 when you should write it as 192.168.0.1


All times are GMT -5. The time now is 05:27 AM.