OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of rdelahondes »
  • 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 - rdelahondes

Pages: [1]
1
Virtual private networks / Re: [Solved] Redirect Gateway not working with new Instances
« on: September 08, 2024, 06:07:46 pm »
I had the same issue, and I managed to have it working. It seems that VPN networks from legacy are automatically added in "OpenVPN" network alias, which enable automatic outbound NAT to work, and (at least when there are legacy OpenVPN) networks from the new OpenVPN instances are not added into that alias.

So:
 
1) I created manually an alias that include the tunnel subnet (i.e. my tunnel subnet is 10.101.2.0/24 and my alias UserVPN 10.101.0.0/16).

2) I went into Firewall/NAT/Outbound, and switched to "hybrid"

3) Then I manually add a new rule on WAN interface, and for source I chose my new alias, "UserVPN"

PS as explained in previous posts, in the redirect setting of the OpenVPN instance, I only check "default".

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