- Posts: 1302
- Thank you received: 0
IpCop help
19 years 1 month ago #10628
by DaLight
Replied by DaLight on topic Re: IpCop help
put the code in /etc/rc.d/rc.local
19 years 1 month ago #10632
by stanyo
Replied by stanyo on topic Re: IpCop help
It is the same:
iptables v1.2.11: Couldn't find a pattern definition file for bittorent.
iptables v1.2.11: Couldn't find a pattern definition file for winmx.
iptables v1.2.11: Couldn't find a pattern definition file for bittornado...
iptables v1.2.11: Couldn't find a pattern definition file for bittorent.
iptables v1.2.11: Couldn't find a pattern definition file for winmx.
iptables v1.2.11: Couldn't find a pattern definition file for bittornado...
19 years 1 month ago #10637
by DaLight
Replied by DaLight on topic Re: IpCop help
Maybe you could try adding the --l7dir /etc/l7-protocols/protocols option to the iptables calls in addition to using the CUSTOMPREROUTING chain instead of the PREROUTING chain. Add the following line after the flush commands for the other custom chains in /etc/rc.d/rc.local:
[code:1]/sbin/iptables -F CUSTOMPREROUTING[/code:1]
Then do a reboot.
The purpose of using the CUSTOM* chains and the associated flush commands is that any changes to rc.local can be updated simply by running:
[code:1]/etc/rc.d/rc.local[/code:1]
[code:1]/sbin/iptables -F CUSTOMPREROUTING[/code:1]
Then do a reboot.
The purpose of using the CUSTOM* chains and the associated flush commands is that any changes to rc.local can be updated simply by running:
[code:1]/etc/rc.d/rc.local[/code:1]
Time to create page: 0.132 seconds