Iptables allow CIPE connection request
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:
Iptables rules:
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.
References:
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Linux : Iptables # 4 Block all incoming traffic but allow ssh
- Linux: Iptables # 14 How to allow POP3 server/protocol request
- How do I use Iptables connection tracking feature?
- Linux Iptables allow or block ICMP ping request
- Linux Iptables allow WEBCACHING incoming client request
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: cipe, configuration file, connection requests, incoming request, interface, iptables CIPE connection, iptables script, linux firewall, network vpn, script iptables, udp packets, virtual device, virtual private network



Recent Comments
Today ~ 10 Comments
Today ~ 3 Comments
Today ~ 7 Comments
Today ~ 4 Comments
Today ~ 8 Comments