OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Help Setup remote wireguard outbound nat rules
« previous next »
  • Print
Pages: [1]

Author Topic: Help Setup remote wireguard outbound nat rules  (Read 40 times)

camsec

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Help Setup remote wireguard outbound nat rules
« on: December 02, 2024, 02:00:34 pm »
Hello,

Networking newb here. !

I got this setup:

ISP router -> local home lan -> ESXI (opnsense) -> wireguard instance to remote in + wireguard instance to VPN provider

In the opnsense their is 2 Gateways:

- WAN to home network/ISP (WAN)
- Wireguard out to VPN provider (WG)

When I remote in, I am succesful in connecting, but depending on the NAT outbound rule I get these behaviors:

If NAT outbound is applied to WAN interface for incoming remote connection, I can only acces local ressources, no internet
If NAT outbound rule is applied to WG interface, I get internet, but no local resources access

Ideally, I would want to have WAN gateway with internet and local ressources access.

I just dont know where to look further at this point.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Help Setup remote wireguard outbound nat rules
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2