dev ovpns2 dev-type tun dev-node /dev/tun2 writepid /var/run/openvpn_server2.pid #user nobody #group nobody script-security 3 daemon keepalive 10 60 ping-timer-rem persist-tun persist-key proto udp cipher AES-128-CBC up /usr/local/sbin/ovpn-linkup down /usr/local/sbin/ovpn-linkdown local x.x.x.x tls-server server 10.168.2.0 255.255.255.0 client-config-dir /var/etc/openvpn-csc lport 1194 management /var/etc/openvpn/server2.sock unix max-clients 10 push "route 10.168.255.0 255.255.255.0" client-to-client ca /var/etc/openvpn/server2.ca cert /var/etc/openvpn/server2.cert key /var/etc/openvpn/server2.key dh /etc/dh-parameters.1024 comp-lzo persist-remote-ip float ------------------------------------------------
Client Dev tun Proto udp Remote xx.xx.xx 1194 Ping 10 Resolv-retry infinite Nobind Persist-key Persist-tum Ca ca.crt Cert client1.crt Key client1.key Comp-lzo Pull Verb 3 ------------route table from client------------------------------------------------ =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.168.15.1 10.168.15.149 25 10.168.2.0 255.255.255.0 10.168.2.5 10.168.2.6 1 10.168.2.4 255.255.255.252 10.168.2.6 10.168.2.6 30 10.168.2.6 255.255.255.255 127.0.0.1 127.0.0.1 30 10.168.15.0 255.255.255.0 10.168.15.149 10.168.15.149 25 10.168.15.149 255.255.255.255 127.0.0.1 127.0.0.1 25 10.168.255.0 255.255.255.0 10.168.2.5 10.168.2.6 1 ******* 10.255.255.255 255.255.255.255 10.168.2.6 10.168.2.6 30 10.255.255.255 255.255.255.255 10.168.15.149 10.168.15.149 25 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 169.254.0.0 255.255.0.0 10.168.15.149 10.168.15.149 20 192.168.56.0 255.255.255.0 192.168.56.1 192.168.56.1 20 192.168.56.1 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.56.255 255.255.255.255 192.168.56.1 192.168.56.1 20 224.0.0.0 240.0.0.0 10.168.2.6 10.168.2.6 30 224.0.0.0 240.0.0.0 10.168.15.149 10.168.15.149 25 224.0.0.0 240.0.0.0 192.168.56.1 192.168.56.1 20 255.255.255.255 255.255.255.255 10.168.2.6 10.168.2.6 1 255.255.255.255 255.255.255.255 10.168.15.149 10.168.15.149 1 255.255.255.255 255.255.255.255 192.168.56.1 6 1 255.255.255.255 255.255.255.255 192.168.56.1 3 1 255.255.255.255 255.255.255.255 192.168.56.1 192.168.56.1 1 Default Gateway: 10.168.15.1 --------------------------------------------------------------------- To unsubscribe, e-mail: support-unsubscr...@pfsense.com For additional commands, e-mail: support-h...@pfsense.com Commercial support available - https://portal.pfsense.org