OpenVPN: 2.3.2-RELEASE as Client to EC2 Ubuntu Server Config



  • I'm able to successfully connect individual clients (behind pfSense) to OpenVPN Server (Amazon EC2). I I have multiple machines handling different traffic so port forwarding/NAT for VPN traffic will not work. How do I go about connecting specific subnets within pfSense (as VPN client) to VPN server such that I can route traffic to the appropriate machines?

    EDIT: Also interested in scripting to auto-re-connect upon reboot.


  • Rebel Alliance Global Moderator

    If you have pfsense as a client connected to some openvpn server then just use policy based routing to send the traffic you want or the machines based up IP either out the vpn or not, etc.


  • Rebel Alliance Global Moderator

    well to me its pretty easy ;)  If you have any questions just ask.  Connecting to a openvpn as is pretty easy.  Is that what your running on your ec2?