Is it possible to set up routing based on source ports?

This forum is for general conversation and user-user networking.
Post Reply
zxun
OpenVpn Newbie
Posts: 16
Joined: Mon Jan 04, 2021 2:26 am

Is it possible to set up routing based on source ports?

Post by zxun » Sun May 16, 2021 2:11 pm

I am considering such a scenario, that a vpn server is hidden under a normal website.
I want to redirect and outbound request not from that webserver or ssh to another vps.
Obviously it cannot be distinguished by source ip or destination ip but only by source ip.
Is it possible to do so? Thanks.

User avatar
TinCanTech
Forum Team
Posts: 9236
Joined: Fri Jun 03, 2016 1:17 pm

Re: Is it possible to set up routing based on source ports?

Post by TinCanTech » Sun May 16, 2021 5:12 pm

You probably mean --port-share

Post Reply