How to make another port without connect to vpn

Hello Everyone, recently i confuse how to make another port without connect to vpn. I assume that i need to configure in vlan (cmiiw).

Here's i attached my topology plan and my configuration.

Can someone help me? Thanks before.

https://openwrt.org/docs/guide-user/network/routing/pbr

1 Like

Thanks for your reply, i will read the docs

1 Like

Instead of using pbr, you can use ipv4 route and different routing tables. I had the same issue as you, and got it solved with this method, described in Route traffic from interface LAN via WAN, and from interface VPN1 via Wireguard.

2 Likes

That is exactly what Policy Based Routing (PBR) is about.
Create routing tables with different default routes via VPN or WAN and rules which defines which client/interface/destination/port etc. will use which routing table.

Either by using an app/package or netifd, a script or manual

thinking about it just like @frollic mentioned :joy:

1 Like

Thank you for the clarification. I thought pbr was some sort of more complex method.
Hopeully, @suyonk can get some help for the thread mentioned, since it solves the same problem as he has.

2 Likes