Feature #8082

OpenVPN Redirect Gateway Option Only Works for IPv4

Added by Steve Matos almost 3 years ago. Updated almost 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


The "Redirect Gateway" checkbox on the OpenVPN server settings page appears to only push the "redirect-gateway def1" option which only affects IPv4. The way the wording is right now, it would lead one to believe it applies to both IPv4 and IPv6.

The checkbox description should be clarified to indicate it only affects IPv4, and another check box should be added for IPv6 that pushes the "redirect-gateway ipv6" option. This way users can select IPv4 and IPv6 redirection individually.

Associated revisions

Revision 37f05e97 (diff)
Added by Jim Pingle almost 3 years ago

Add a separate checkbox for OpenVPN servers to redirect an IPv6 gateway now that OpenVPN has a native flag for it. Implements #8082

While here, since local network boxes are hidden when redirect gateway is enabled, do not use the values in those boxes when crafting the configuration. That way the GUI configuration is consistent with the backend.


#1 Updated by Jim Pingle almost 3 years ago

  • Tracker changed from Bug to Feature
  • Status changed from New to Assigned
  • Assignee set to Jim Pingle

There was a ticket for this already at #6483 but that one had some really outdated info so I'll keep this one.

I've got a fix for this ready.

#2 Updated by Jim Pingle almost 3 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

#3 Updated by Anonymous almost 3 years ago

On pfSense-netgate-memstick-ADI-2.4.2-DEVELOPMENT-amd64-20171114-0626 works as expected.

#4 Updated by Jim Pingle almost 3 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF