• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

UFW blocks OpenVPN

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 481 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jduskey
    last edited by Oct 6, 2017, 2:27 AM

    I have a server on my home network that has UFW enabled to allow internal clients and force all traffic over vpn. When I try to connect from a VPN client it gets blocked even though I have allowed 10.0.8.0/24 in UFW.

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Oct 7, 2017, 1:08 PM

      So I take it 10.0.8 is your tunnel network.

      But you say you force this machine out some vpn (on it) to go to remote networks, which 10.0.8 would be..

      Just create a route so that it knows 10.0.8 is local and to not go out its vpn to get to it.. Ie point a route on it to your pfsense IP on its network.

      Or you could source nat the traffic on pfsense so this box thinks the traffic from your vpn is on its local network.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received