Hello everyone
After spending a lot of hours trying to config the server (Ubuntu) and client (Router 4011 (behind NAT-dynamic ip)) it's finally established the tunnel and it's automatically create a NAT rule and there is no internet on devices (I tested the vpn on android client and it's working fine the android phone which is using the same internet as the router) and also I can't ping the server public ip with router. I know firewall and other part should be configurate but I don't know how. I want all of the traffic of the router (all of my devices) route through this IKEV2 vpn. so I would highly appreciate it if any of you can help me with this.
also be able to route the traffic of some IPs out of that vpn, for example all traffics are going through VPN except for ip 222.222.222.222. I opened a topic before and got the solution for it but in that time I was using L2TP I don't know if it's the same or not.