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

    Traffic routing OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 284 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.
    • U
      utp_ss
      last edited by utp_ss

      Please tell me:
      On a remote server on PFSENSE, an OpenVPN server is installed, customer connection mode is Tun. For PFSENSE network: 10.1.1.0/24
      When connecting customers via VPN, all of their Internet traffic goes via Pfsense.
      The IPV4 redirect gateway has been established: force the client to send the entire IPV4 traffic through the tunnel.
      How to make some customers through VPN only traffic from 10.1.1.1.0/24, and access to Internet sites went through a client connection?

      Client configuration:

      dev tun
      persist-tun
      persist-key
      ncp-disable
      cipher AES-256-CBC
      auth SHA1
      tls-client
      client
      resolv-retry infinite
      remote 92.92.92.92 1194 tcp4
      nobind
      verify-x509-name "Еуіе_CA" name
      auth-user-pass
      remote-cert-tls server

      Thank you.

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