Configure multilan

Hello…

How I can configure 2 diferents LAN and have the 2 LAN working at the same time, one of the LANs is only internet and the other is a data link that have the DNS service.

Hi @kristian1369,

you have roles in NS, see http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-firewall-base.html#roles-and-zones

You may use blue guest role for the only Internet lan and green role for LAN with server access.

Hello…

Can I send you a grafic what I want to do…?

For sure! Please just post it here…

OK, I think you’ll need 3 network interfaces in your Nethserver, one for the 10.0.x.x network, one for the internal vlanned network and one for the WAN 192.168.xxx.xxx network. This makes Nethserver to your router to manage traffic from one network to another.

Network roles, 2 x green, 1 x red:

This worked for me in a quick VM test:

Choose green role for the internal LANs:

Hope I understood you right…

I have this only with te conection of internet.

Looks good. In this case the blue network can only access internet, but not the green zone. Does it work?

I connect a network card only but not configure; you mean that the service of internet goes to the guest and the link data goes to the green…? and I would have internet and the service of dns…?
I don´t have to configure any firewall… ?

In the schema below, traffic is permitted from left to right and blocked from right to left:

GREEN -> BLUE -> ORANGE -> RED

Do you mean, you use DHCP?

Yes, but I couldn’t test it at the moment. Green(internal LAN) is allowed to red(WAN) and blue(link data). It should work.

Yes, it just has to be setup correctly on the clients or via DHCP.

In this case you configured it with the roles.

2 Likes

Ok i will try that configuration; if I can´t you can connect via teamviewer…

Just let me know when you tested it…

ok let you know.

Hello… I do the configuration but dosen´t work; one question how I can activate the multiwan…?

If you can chat by whatsapp or telegram

Hi @kristian1369,

It’s explained in the docs:

http://docs.nethserver.org/en/v7/firewall.html#multi-wan

2 Likes

thanx I can solved the problem.

2 Likes