I have set up 2 VPN servers in 2 different locations (A running strongswan as server and openvpn as client; B running openvpn as server), And A and B is linked via openvpn. What I want to do is to make A route all client traffic to port 443 and 80 through the openvpn tunnel established between A and B.
I have added a routing table which will route all marked traffic (
-t mangle PREROUTING -p tcp -m tcp --dport 443 -j MARK --set-xmark 0x2/0xffffffff) to the openvpn tunnel
I can see the marked traffic is successfully routed to the tunnel using
tcpdump -i tun0) but there is only outgoing traffic and no incoming traffic.
Hope someone can help me with this. Thank you!