Page 1 of 1

2 NIC, 1 WAN, 1 LAN

Posted: Sun Jun 18, 2023 1:18 pm
by jmoschetti45
I have an older server I'd like to repurpose as a VPN server, equipped with two 2.5GBe NICs. The goal would be for eth0 to be facing the "internet" side of the VPN, and eth1 to be connected to the LAN side of things. Slightly unorthodox I know, but I have a few services that are for VPN only, and have no other exposure to the internet, so I don't want to throw them on the main LAN. I'll try to make a diagram to simplify things a tad.

2.5G Fiber -> OPNSense -> 10G Switch -> Internal LAN/etc

What I need is to get from the 10G switch, into the VPN server eth0, from the VPN server eth1 to a separate 2.5G switch with some services behind it.

10G Switch --> (eth0) VPN (eth1) --> 2.5G Switch --> VPN only stuff

I have never had any issues with setting up OpenVPN with just 1 NIC, but this is a new one for me. Any suggestions?