Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Update OPNsense from LAN interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: Update OPNsense from LAN interface (Read 1358 times)
Jedis
Newbie
Posts: 6
Karma: 0
Update OPNsense from LAN interface
«
on:
October 07, 2023, 01:12:03 am »
Hello,
New OPNsense user as of today. I have to do some more work before I can migrate over my WANs to the new box that is running OPNsense.
I am able to connect to the web interface of OPNsense. I can use the ping utility to ping devices on the local LAN.
Is there a way to, temporarily, allow internet access via the LAN so I can check for updates? I am running the version on the website - 23.7, but figured it couldn't hurt to check for updates before I go any further.
My fall back option is going to be to connect another ethernet cable to the WAN0 and plug it into my LAN.
Thanks!
Logged
passeri
Full Member
Posts: 101
Karma: 4
Re: Update OPNsense from LAN interface
«
Reply #1 on:
October 07, 2023, 01:29:06 am »
If I understood you correctly, I always use your fall back option.
Connect OPNsense WAN to your current network configured to receive an address from DHCP. Configure all of your LAN interfaces and rules. When that testing is complete, change your WAN config and drop it into place for the live WAN test. This is a normal routine which will give you a smoother path to your base configuration before you go live.
Logged
CJ
Hero Member
Posts: 832
Karma: 30
Re: Update OPNsense from LAN interface
«
Reply #2 on:
October 07, 2023, 02:35:40 pm »
Are you just plugging one cable into the OPNSense LAN port and then connecting that to your existing network? I'm trying to understand your setup and use case.
If you have console access, you can plug the WAN port only into your network and then use the console to perform all of the needed updates.
Logged
Have Answer, Will Blog
Patrick M. Hausen
Hero Member
Posts: 6923
Karma: 583
Re: Update OPNsense from LAN interface
«
Reply #3 on:
October 07, 2023, 04:31:24 pm »
Or connect only LAN, activate SSH, login and enter as root:
Code:
[Select]
route add default <ip of your LAN router>
You should be able to install updates with an otherwise default installation, then.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Jedis
Newbie
Posts: 6
Karma: 0
Re: Update OPNsense from LAN interface
«
Reply #4 on:
October 07, 2023, 06:09:05 pm »
Thanks, all! Appreciate you all for offering solutions for either method!
Logged
Melroy vd Berg
Newbie
Posts: 7
Karma: 0
Re: Update OPNsense from LAN interface
«
Reply #5 on:
November 21, 2024, 12:47:58 pm »
Since nobody actually mention or explain how to do this properly via the GUI. And I also needed to add my OPNsense to a LAN interface temporally and running updates (before deployment).
1. I assume your LAN interface is enabled and basically configured like out of the box (eg. using a static IP address for OPNsense)
2. Let's create a upstream gateway, by going to: System -> Gateways -> Configuration -> Create a new gateway by clicking the + icon.
3. Now give the gateway a name, select the correct "LAN" interface, enter the upstream router under IP address (eg. 192.168.1.1).
Then check the "Upstream Gateway" checkbox. Press Save button.
4. Finally, press the Apply button.
See attachment how it should look like.
If you are done, you can remove the temp. gateway configuration again from above. Normally you will add a gateway configuration on your WAN interface.
Logged
Hardware:
DEC3852
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Update OPNsense from LAN interface