Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
default gateway
« previous
next »
Print
Pages: [
1
]
Author
Topic: default gateway (Read 161 times)
FredFresh
Jr. Member
Posts: 68
Karma: 1
default gateway
«
on:
November 23, 2024, 06:13:18 pm »
Hello, I am trying to forward the DNS requests passing through the WAN to the VPN gateway.
I was not able to create a working system using the outbound NAT + firewall rules. Instead I was able to set the VPN gateway as the default one (and have the dns queries go through it).
Does this method have any bad effect? To be considered that I want all the clients to go through that VPN.
Thanks
Logged
FredFresh
Jr. Member
Posts: 68
Karma: 1
Re: default gateway
«
Reply #1 on:
November 24, 2024, 08:33:33 am »
Hello, I try to clarify my question: setting the VPN wireguard connection as a default gateway, only the traffic toward the external will go through that OR I have to create specific firewall rules to route the traffic between internal subnets or to the internal unbound dns server?
Thanks
Logged
viragomann
Full Member
Posts: 196
Karma: 7
Re: default gateway
«
Reply #2 on:
November 24, 2024, 02:42:55 pm »
No, it's the same as if you use the WAN as default gateway. Special rules are only needed if you do policy routing. In this case you would have to use aliases to get the rule applied to outside destinations only.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
default gateway