Iptables allow CIPE connection requestNovember 14, 2010 by: upa_kid
From my mail bag:
How do I accept CIPE connection requests coming from the outside?
CIPE stands for Crypto IP Encapsulation (see howto Establishing a CIPE Connection) . It is used to configure an IP tunneling device. For example, CIPE can be used to grant access from the outside world into a Virtual Private Network (VPN). All you need to find out CIPE number, once you got the number (device name) append following two IPTABLE rules (add rule to your iptables script) to script:
Add the following rules to your iptables script or configuration file:
iptables -A INPUT -p udp -i cipcb0 -j ACCEPT
iptables -A OUTPUT -p udp -o cipcb0 -j ACCEPT
CIPE use its own virtual device. It is use to transmit UDP packets so the above rule allows the cipcb0 interface to incoming request (no need to use eth0).
Replace cipcb0 with your actual device name.
* Establishing a CIPE ConnectionHave you found this script useful? Please support author by PayPal donation.
- Linux Iptables: Block All Incoming Traffic But Allow SSH
- Linux Iptables Limit the number of incoming tcp connection / syn-flood attacks
- Linux Iptables allow or block ICMP ping request
- Iptables: Some howto`s
- Linux: Iptables Allow MYSQL server incoming request on port 3306
- Linux: Iptables Allow POP3 (open port 110) Server Requests
- How to: Linux flush or remove all iptables rules
- How can I enable or setup log message in the iptables firewall?
- Iptables mac address filtering
- Linux Iptables block or open DNS / bind service port 53