Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE (Read 1069 times)
Westy69
Newbie
Posts: 7
Karma: 0
How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE
«
on:
October 28, 2022, 06:46:24 am »
Hi All. Hope you can help me out.
I have set up my wire-guard and can connect in remotely to my network and can browse the internet while connected.
However when I do What is my IP in my phone browser when connected remotely. It comes up with my WAN DHCP address.
Is there any way I can configure my OPN SENSE router to do 2 things...
1. priority #1 out to the internet VIA my NORD vpn CONFIGURED INTERFACE (THAT ALL RUNS FINE AND I CAN BROWSE INTERNET ETC WITH THE NORD 116 ADDRESS POOL.
2. if the nord interface is state DOWN ... can I then route it out of my main internet WAN interface?
I know I have probably not explained myself well at all.... but hope you legends can help.
Cheers
Westy - NZ
Logged
tiermutter
Hero Member
Posts: 1102
Karma: 61
Re: How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE
«
Reply #1 on:
October 28, 2022, 09:27:17 am »
For #1 you need a NAT outbound rule.
Set outbound mode to hybrid (should be already done) and create a rule setting wgX interface as source and nord VPN as interface.
For #2 what you want can be done with policy based routing (failover).
Create a gateway group with tier 1 nord VPN and tier 2 WAN, then in FW rules set gateway for "default allow" rule of the WG interface to the gateway group.
Have not tested this scenario, but sounds to me like it can be working
Logged
i am not an expert... just trying to help...
Westy69
Newbie
Posts: 7
Karma: 0
Re: How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE
«
Reply #2 on:
October 28, 2022, 09:43:24 pm »
hi Thanks for that.
Tried to set up a NAT rule but it would not work. Wireguard is still finding my WAN as outbound natural interface.
My Other Vlans use NORD VPN interface and applicable 116 address out.
not sure what to do to fix it.
but thanks for your tips.
Logged
Westy69
Newbie
Posts: 7
Karma: 0
Re: How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE
«
Reply #3 on:
October 29, 2022, 02:36:29 am »
FIGURED IT OUT
added a Firewall rule in my Wire Guard interface
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
How to forward and wireguard connection inbound to NORD VPN OUTBOUND INTERFACE