OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of rafal72 »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - rafal72

Pages: [1]
1
Virtual private networks / Re: Route traffic from Site A to Site B through WG Tunnel out WAN Site B
« on: September 10, 2024, 03:51:52 am »
I was able to figure this out and I have all working. Wireguard-selective-routing document linked in your post above has all the ingredients.

You need to enable GW on Site B under "WireGuard instance" --> advance mode -->  select disable route and input IP address for your GW. This could be any available IP from your tunnel subnet (see step 2)

On site A, create a new GW (use IP assigned on Site B). You need a few FW rules and NATing etc. Pretty much almost all the steps from this guide apply to side A. You can skip step 2 on-site A as this would only apply to site B (uni-directional) in your example. Step 9 - Configure routing, is also not not required.

2
Virtual private networks / Re: Route traffic from Site A to Site B through WG Tunnel out WAN Site B
« on: September 09, 2024, 10:21:20 pm »
I am in the boat as your configuration except I want to route all Internet traffic via the opposite sites.
Site A --> WireGuard VPN --> Site B WAN and Site B --> WireGuard VPN --> Site A WAN. My WG tunnel works and I can reach local hosts between both sides. However, I was unable to route traffic to the internet. I have spent and tried many different configurations and nothing seems to work yet.

Anyway, please post an update if you find a way to get this working.

Pages: [1]
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