OPNsense Forum

English Forums => General Discussion => Topic started by: Morta on November 15, 2021, 08:00:54 PM

Title: No Internet on LAN1-LAN7 interface
Post by: Morta on November 15, 2021, 08:00:54 PM
I have a selfbuild router with 4x1 GbE Card a Motherboard with 2x10 GbE Card and a WAN Card with two SPF28.
So i get a IP from ISP on WAN but have no internet on LAN1-7.
What have I to do exactly that I have a DHCP Server on LAN1-7 with dnsmasq and internet from the WAN Port?

      TV/Printer/Hue Hub
                 |
ISP———Router——Server
                 |
              Laptop
             
Assiment of Interface are done but only LAN1 under DHCPv4. No other interfaces listed.

Have I to forward every service from wan to destination device over NAT? Or How can forward internet access?
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Patrick M. Hausen on November 15, 2021, 08:09:21 PM
If you want to also use your router as a switch, so all the LAN ports are in the same network, read up on "bridging" in the documentation.
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Morta on November 15, 2021, 08:20:19 PM
Quote from: pmhausen on November 15, 2021, 08:09:21 PM
If you want to also use your router as a switch, so all the LAN ports are in the same network, read up on "bridging" in the documentation.

Ok thanks for the input and why have the laptop no internet if i connect to the LAN1 for configure the router?
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Patrick M. Hausen on November 15, 2021, 10:30:37 PM
How should I be able to tell without knowing every configuration detail of your setup?
You could start with a screenshot of the "Interfaces" section of your dashboard.
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Morta on November 16, 2021, 07:03:03 AM
I struggle with the bridge. I lost the WebUI.

I have to beginn from the scratch.

I read that for internet connection I will do port forwarding to the bridge or lan interface. It's correct?

I'm not really comfortable with OPNsense but it will come with the time.
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Morta on November 17, 2021, 01:11:39 PM
I got the bridge and IPv6 DHCPV6 configuration but now I have to do the portforwarding rules.
Have you any good tutorial for a statefull firewall?
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Patrick M. Hausen on November 17, 2021, 01:16:05 PM
By default you have a permit all rule on your LAN interface and automatic NAT for IPv4. So Internet access should be working. Is it?

What else do you want to implement? Port forwarding rules are for inbound connections in most setups.
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Morta on November 17, 2021, 01:52:39 PM
Quote from: pmhausen on November 17, 2021, 01:16:05 PM
By default you have a permit all rule on your LAN interface and automatic NAT for IPv4. So Internet access should be working. Is it?

What else do you want to implement? Port forwarding rules are for inbound connections in most setups.

No Internet Access on all devices. How I add a all permit rule on NAT for my LAN(bridge0) interface?

Yes I need port forwarding for my server.

It's normal that the DHCPV6 Server shows me no leases on LAN? I got the IPv6 directly from the ISP? So I have to activate the Relay?
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Morta on November 17, 2021, 02:18:15 PM
I got it working without DHCPv6 Relay. The fault was I choosed on my SPF28 Card the wrong Port so no Internet Access. Dumb fault.

Title: Re: No Internet on LAN1-LAN7 interface
Post by: Patrick M. Hausen on November 17, 2021, 03:40:38 PM
Quote from: Morta on November 17, 2021, 01:52:39 PM
No Internet Access on all devices. How I add a all permit rule on NAT for my LAN(bridge0) interface?
Have you checked your rules at Firewall > Rules > LAN? There should be one in place for a new installation.
Similarly Firewall > NAT > Outbound should be se to "Automatic" so you can start with Internet access.
Title: Re: No Internet on LAN1-LAN7 interface
Post by: Morta on November 17, 2021, 04:15:59 PM
Quote from: pmhausen on November 17, 2021, 03:40:38 PM
Quote from: Morta on November 17, 2021, 01:52:39 PM
No Internet Access on all devices. How I add a all permit rule on NAT for my LAN(bridge0) interface?
Have you checked your rules at Firewall > Rules > LAN? There should be one in place for a new installation.
Similarly Firewall > NAT > Outbound should be se to "Automatic" so you can start with Internet access.

I got Internet Access i have failed with the WAN Interface? Wrong one choosed of my SPF28 Card..