OpenWrt doesn't allow LAN connections after installing NIC

Complete noob here, feel free to point out if I'm missing something obvious. :sweat_smile:

Recently flashed OpenWRT 24.10 onto an x86 machine, no problems after configuring settings. I am using this machine as a "travel router" at the moment where the router itself connects to the WiFi, and my PC is connected to it through LAN.

Unfortunately, I tried to install a new NIC into the router only to find that my PC can't connect to it at all. The router itself can ping google.com and openwrt.org, and my PC receives an IP address from the router, but the PC cannot make any outward connection to the internet. It also cannot open the LuCI dashboard, and it gives me the error "Permission denied" when trying to connect via SSH. This continues to be the case after removing the NIC from the machine and connecting to a port that used to work just fine.

If somebody can point me to a post where a similar situation has already been solved, please do so. My searches have yielded no results.

There are a few possible reasons that this could be happening, including a re-enumeration of the ethernet interfaces.

Let's start by looking at your config.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

A bit of context, I have configured the router to connect to a VPN according to these instructions. This had not been a problem before installing the NIC. I also have no way to get the terminal output directly (SSH connection not working) so apologies in advance for attaching a link to google drive with console output. I fear that I might make a typo or OCR would make a mistake I wouldn't notice. The output for cat /etc/config/firewall was so long that I don't think I got it all in frame, cant seem to scroll the terminal up either.

Google Drive folder

How many total ethernet ports do you have on your router now? I see eth0 (lan) and eth1 (wan) in the network config... is that all, or is there another?

I also see that you have a wwan (wireless uplink) as well as eth1 on the wan... are you using both of these?

Aside from that, everything looks fine from that I can see... your firewall file is incomplete in the pictures because there is a lot of stuff 'above the fold'.

cat /etc/config/firewall | more

this will allow you to capture each section.

After trying out various things I've come to realize what happened. The VPN I use only allows a certain amount of devices to be connected at once, and I had removed the PC to add the router to the device list, since I will be using the router to connect to the VPN instead. For some reason this did not affect me until after installing the NIC, but my VPN client on the PC (Mullvad) was both failing to connect to the VPN and blocking access to the internet as part of a security setting I had enabled previously. The router now works as normal and I can successfully connect to the internet. Thank you for your help so far.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.