@bm777
@pike
Hi
If using a real local server or local VM, this is valid:
With NethServer (Not running as your firewall, only one NIC) you can easily create a OpenVPN (Routed, not bridged, as is suggested nowadays!)…
You must have a port-forwarding rule created on whatever box you’re using as your default gateway (Provider box, Internet box, other router…). This must be for whatever Port you’re using for OpenVPN (usually 1194) and forwarding to the LAN IP of your NethServer.
Additionally, you must create a route on that box for the OpenVPN used Network, eg 10.99.123.0/24 (or 192.168.123.0/24, whatever you’re using) and point this again to the NethServers LAN IP (as the Gateway for this rule…)
In plain english, a route can be considered as follows:
“Pass any traffic to the 10.99.123.0/24 via this special gateway (IP of your NethServer)”…
I have this working for several clients, here is one.
Note:
If you have a “hosted” server, you do need the “dummy” NIC.
I also have this working in a couple of cases…
Note:
You should have valid LetsEncrypt certs on this server…
This is independant from the cert OpenVPN provides for security/encryption.
My 2 cents
Andy