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

    Exclude IP from routing through VPN

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 416 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.
    • L
      lucamoscatofun
      last edited by

      Hi all,
      we have a funny issue here. pfSense/OpenVPN server route all the company network(s) such as offices networks, servers and client connected to vpn. We can summarize all networks with 172.16.0.0/12 but ... there is a printer in the office :)
      Actually I can't reach it if I'm connected to vpn, so that I'm searching, server side, a way to exclude route for that specific IP.
      Going here and there I found that I have to add an additional options, in my case in my client specific override, such as
      push "route 172.18.XXX.XXX 255.255.255.255 net_gateway"
      in order to tell the client, do not route that IP in our vpn, use your net gateway, but is seems not working.

      Any advice?
      Thx

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.