in my Centos7 (static ip=192.168.0.1) I set a pptp connection client to mikrtik server (static ip=172.20.20.1)
ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet 172.20.0.2 peer 172.20.0.1/32 scope global ppp0
also have a strongswan IKEv2 server in my centos my ikev2 client pool ips = 10.31.0.0/24
now my client traffic go through default gateway 192.168.0.1 (my centos static ip) i want to my IKEv2 traffic go out through PPTP vpn (pptp server ip = 172.20.20.1)
the reason is in my country Iran right now, we can only connect vpns to Iran Access servers (just local IPs in Iran) i found a way to connect out side of Iran with a pptp connection on my centos server now we want to connect our cell phones to my server with IKEv2 vpn connection and connect to free international Internet without filtering
help please we are in bad days