Muliple OpenVPN servers each with different gateway
-
Is the following possible.
Goal - setup 3 separate OpenVPN instances, have users that are connected to each OpenVPN instance go out to internet with different public IPs.
e.g.
VPN1 --> 53.53.53.1
VPN2 --> 53.53.53.2
VPN3 --> 53.53.53.3- Configure AWS EC2 instance with multiple (3) interfaces. (done)
- Assign the interfaces in pfSense, ie. each of the EC2 interfaces (done)
- Create three OpenVPN interfaces allowing connections from the different interfaces. (done)
I can connect fine, bit traffic always leave via the default gateway (the first interface).
How can i set a different gateway for each VPN? -
@skwaler said in Muliple OpenVPN servers each with different gateway:
How can i set a different gateway for each VPN?
Just configure your outbound NAT accordingly and map them to the external IPs you want.