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

      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
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.