- Posts: 15
- Thank you received: 0
IPCop Troubles
13 years 11 months ago #36005
by stevied81
IPCop Troubles was created by stevied81
Hi Guys
Newbie here ...
I need to add add subnet to my IPCop as an allowed subnet. To the iptables -L or access list.
the subnet is 10.15.0.0/24
However when I try and vi the rc.local file I get this:
root@firewall:~ # cd /etc/rc.d
root@firewall:/etc/rc.d # vi rc.local
#!/bin/sh
# COPFILTER START - do not modify
# start local programs
echo "starting p3scan ..."
env /var/log/copfilter/default/opt/p3scan/etc/init.d/copfilter_p3scan config
echo "starting avgscan (if installed) ..."
env /var/log/copfilter/default/opt/avg/etc/init.d/copfilter_avgscan config
echo "starting fprotd (if installed) ..."
env /var/log/copfilter/default/opt/f-prot/etc/init.d/copfilter_f-protd config
echo "starting clamd ..."
env /var/log/copfilter/default/opt/clamav/etc/init.d/copfilter_clamd config
echo "starting spamd ..."
env /var/log/copfilter/default/opt/mail-spamassassin/etc/init.d/copfilter_spamd config
echo "starting havp ..."
env /var/log/copfilter/default/opt/havp/etc/init.d/copfilter_havp config
echo "starting frox ..."
env /var/log/copfilter/default/opt/frox/etc/init.d/copfilter_frox config
echo "starting privoxy ..."
env /var/log/copfilter/default/opt/privoxy/etc/init.d/copfilter_privoxy config
echo "starting proxsmtpd ..."
"rc.local" 37L, 1761C
and therefore not sure how to do what I need to do. Thanks for your help in advance.
Steve
Newbie here ...
I need to add add subnet to my IPCop as an allowed subnet. To the iptables -L or access list.
the subnet is 10.15.0.0/24
However when I try and vi the rc.local file I get this:
root@firewall:~ # cd /etc/rc.d
root@firewall:/etc/rc.d # vi rc.local
#!/bin/sh
# COPFILTER START - do not modify
# start local programs
echo "starting p3scan ..."
env /var/log/copfilter/default/opt/p3scan/etc/init.d/copfilter_p3scan config
echo "starting avgscan (if installed) ..."
env /var/log/copfilter/default/opt/avg/etc/init.d/copfilter_avgscan config
echo "starting fprotd (if installed) ..."
env /var/log/copfilter/default/opt/f-prot/etc/init.d/copfilter_f-protd config
echo "starting clamd ..."
env /var/log/copfilter/default/opt/clamav/etc/init.d/copfilter_clamd config
echo "starting spamd ..."
env /var/log/copfilter/default/opt/mail-spamassassin/etc/init.d/copfilter_spamd config
echo "starting havp ..."
env /var/log/copfilter/default/opt/havp/etc/init.d/copfilter_havp config
echo "starting frox ..."
env /var/log/copfilter/default/opt/frox/etc/init.d/copfilter_frox config
echo "starting privoxy ..."
env /var/log/copfilter/default/opt/privoxy/etc/init.d/copfilter_privoxy config
echo "starting proxsmtpd ..."
"rc.local" 37L, 1761C
and therefore not sure how to do what I need to do. Thanks for your help in advance.
Steve
Time to create page: 0.116 seconds