OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of atc »
  • Show Posts »
  • Topics
  • 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

Topics - atc

Pages: [1]
1
Virtual private networks / OpenVPN rules for internet access
« on: March 10, 2021, 12:27:05 pm »
Hi, I'm new to Opnsense and I have an issue trying to get access to the outside world when using one of my VPNs.

I have 2 OpenVPN servers running; 1 for me with full network access and a second one for work that only has access to certain servers on the network. Everything works on VPN 1.

The rules on the OpenVPN firewall tab are as follows:

Protocol     Source         Source Port  Destination    Destination Port  Gateway   Schedule     Description
IPv4 *         10.0.9.0/24   *                   10.0.9.1           *                            *             *                   VPN2
IPv4 *         10.0.9.0/24   *                   172.16.1.70     *                            *             *                   VPN2
IPv4 *         10.0.9.0/24   *                   This Firewall    *                            *             *                   VPN2
IPv4 *         10.0.8.0/24   *                    *                      *                            *             *                   VPN1


The only way I can access the internet when connected to VPN2 is if I have a rule for 10.0.9.0/24 with destination set to any. Is there a way around this? I have tried selecting individual interfaces to no avail.

Thanks

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