Traffic routing OpenVPN
-
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 serverThank you.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.