Something like this should help:
Code: Select all
[root@server csf]# cat csfpost.sh
#!/bin/bash
iptables -I INPUT -p gre -j ACCEPT
iptables -I OUTPUT -p gre -j ACCEPT
iptables -I FORWARD -i ppp+ -j ACCEPT
[root@server csf]#
Hope it helps.
Code: Select all
[root@server csf]# cat csfpost.sh
#!/bin/bash
iptables -I INPUT -p gre -j ACCEPT
iptables -I OUTPUT -p gre -j ACCEPT
iptables -I FORWARD -i ppp+ -j ACCEPT
[root@server csf]#