OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: alex.tls on May 30, 2023, 05:16:25 AM

Title: one ISP for VPN dial-in another ISP as internet access for VPN users
Post by: alex.tls on May 30, 2023, 05:16:25 AM
Hi all,

Let's say, in my office, I have an opensense box, and it connects to two ISP(A/B) link.

I want to create a VPN tunnel (e.g. wireguard) to that box via its ISP A link, when I access the internet, I want my traffic goes through VPN tunnel then go to internet via ISP B from that box. is it possible to achieve that?

what's the key point for the configuration?  if my home network is using a dynamic IP, and on the box, the IP for ISP A is 2.2.2.2, the IP for ISP B is 3.3.3.3, what kind to IP route I need to create?

I just know I need to NAT traffic use the IP of ISP B, and listen VPN connection on the IP of ISP A, but appropriate IP route need to be created.

Anyone can help?


Title: Re: one ISP for VPN dial-in another ISP as internet access for VPN users
Post by: alex.tls on June 01, 2023, 06:47:40 AM
anyone can help?