Configure multilan

v7

(Christian Plaza) #1

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.


How I can get up multiwan when goes down
(Markus Neuberger) #2

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.


(Christian Plaza) #3

Hello…

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


(Markus Neuberger) #4

For sure! Please just post it here…


(Christian Plaza) #5


(Markus Neuberger) #6

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…


(Christian Plaza) #7

I have this only with te conection of internet.


(Markus Neuberger) #8

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


(Christian Plaza) #9

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… ?


(Markus Neuberger) #10

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.


(Christian Plaza) #11

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


(Markus Neuberger) #12

Just let me know when you tested it…


(Christian Plaza) #13

ok let you know.


(Christian Plaza) #14

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


(Markus Neuberger) #15

Hi @kristian1369,

It’s explained in the docs:

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


(Christian Plaza) #16

thanx I can solved the problem.