NS with one green interface as default gateway (without NAT)

Hi there,

please find below my current network config:

  • Router: 10.0.0.254 (connected to Internet/NAT)
  • Nethserver 7.9: 10.0.0.250
  • Server1: 10.0.0.10
  • Server2: 10.0.0.11

My servers currently using the Nethserver with one single interface (green role) as default gateway. I’m connecting from outside with OVPN and portforwarding 1194/UDP to the Nethserver and can access my servers. So I dont’t have to set static routes to OVPN network on my router. Everything is working perfect, even the servers can access internet because netserver is redirecting packets to the router. My servers doing backup to a cloud storage during the night, that’s also working.

I would like to know if this is a valid configuration or if I have to expect any issues in the future?

Regards
Martin

AFAIK is a valid configuration.
Only one green interface is mandatory, all the other kind of intefaces are optional.
Nevetherless, it’s not ideal for several reasons.

1 Like

@MaLeCo

Hi

Depends if your OVPN is using tun or tap. Tun is preferred and will be supported in future and is the “routed” version. Tap is the “bridged” version and AFAIK may be dropped in future. You will have problems if using an Android tablet or smartphone, as the clients there only support tun, as with Apple’s iOS.

If that is no issue to you, then I don’t see any problems for the future.

My 2 cents
Andy

2 Likes

@Andy_Wismer Hi Andy,

thanks a lot for your comment. I’m using OVPN always in routed mode, so that shouldn’t be an issue.

Martin

1 Like

@pike Hi Michael. Thanks a lot for your comment.

Martin