[Question] With ikev2 only mode, is all the iptables rules required
chiragrajk opened this issue · 1 comments
chiragrajk commented
For context I am trying to setup vpn with ikev2 mode only on AWS EC2 Ubuntu instance. Are all iptables rules setup in vpnsetup_ubuntu.sh:578
required for ikev2 only mode?
hwdsl2 commented
@chiragrajk Hello! For IKEv2 only mode, some IPTables rules are not required: 1. Rules related to UDP port 1701. 2. Rules related to "ppp+". 3. Rule containing "L2TP_NET". Removing them is not necessary for IKEv2 only mode to work, but you can if you want. Note that the IPTables commands are numbered, so you will need to update the rule numbers accordingly.
The relevant part of the script is:
setup-ipsec-vpn/vpnsetup_ubuntu.sh
Lines 576 to 614 in b7b3fc3