Score:0

Centos7, Strongswan IKEv2 rout client traffic to specified gateway

td flag

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

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.