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

    OpenVPN Cliente Selective Clients

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 1 Posters 862 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.
    • SoloamS
      Soloam
      last edited by

      Hello, I have a OpenVPN client sate that its working ok, but now I need a exception to some clients and I cant get it to work. What I would prefer is the oposit, set the default to WAN and only some clients would go by VPN.

      I have the default gatway set to WAN, I have no rules with specific gateways, I have selected:

      Gateway Monitoring
      –------------------------------------------------------------
      State Killing on Gateway Failure    - X
      Skip rules when gateway is down - X

      I have duplicated the NAT outbound rules to the VPN.

      Now VPN works well, but all trafic is going by VPN, even if with default gateway to WAN and even If I set a rule on lan to sen trafic by VPN gatway.

      Can any one help me?
      Thank you in advance

      1 Reply Last reply Reply Quote 0
      • SoloamS
        Soloam
        last edited by

        This are my configuration. On the file LAN_TO_WAN I have tried setting the gateway, but with no success.

        The weirdest part is that I had already tested this in the past with success, but now I can't get it to work,

        Thank you in advance
        Soloam

        configuration.jpg
        configuration.jpg_thumb
        gateway.jpg
        gateway.jpg_thumb
        lan_rules.jpg
        lan_rules.jpg_thumb
        LAN_TO_WAN.jpg
        LAN_TO_WAN.jpg_thumb
        nat_outbound.jpg
        nat_outbound.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • SoloamS
          Soloam
          last edited by

          Any one have any ideas? I really need to set the vpn only to some clients.

          Thank you

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