Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ricksense

#1
Hi everyone,

I have set a virtual LAB UP in eve-ng, I gave the OPNSense 25.1 High High Availability a go for the first time, before deploying them in a production environment.
Here is what I got at the end of the setup:

Node1 (master)


Node2 (backup)


Not an expert here, but I think that WAN and LAN should should be both in master status.
In order to fix it, I also tried to tinker with the advskew: I set 101 on the master and 100 on the backup node, I rebooted but nothing changed.

How can I fix it?
Thanks

#2
Hi everyone,
I have set a Dual-WAN failover up on my OPNsense v. 24.7.8. The WAN1 gets a static IP, while WAN2 is under NAT and gets a dynamic IP.
As long as the WAN1 is up, the external PC connected to OPnsense via a Road Warrior Wireguard tunnel can reach the LAN behind OPNsense, but if WAN1 goes down there is no connection anymore (only the devices behind OPNsense can go to internet via WAN2..as expected).
I set up monitoring on the WAN interfaces as well as "Allow default gateway switching", but Wireguard still doesn't work via WAN2.
Any suggestions please?
Thanks
#3
Quote from: viragomann on December 10, 2024, 06:54:23 PM

It would also be possible if both have the same though, but then they need different LAN IPs and you can only connect a single WAN of OPNsense to them, means you need also a switch between the devices.

I don't think that I've understood what you mean above.
Thanks
#4
anyone?
#5
Hi everyone,

I was wondering if it is possible to set up a dual WAN failover where both WANs have the same gateway.
This could be the case if you have two modems/routers and two connection lines from the same ISP (or they could be different for that matter), and you put an OPNsense device behind them to better manage and protect your network.

Is it possible in OPnsense? Could there be some problems?
Thanks
#6
Hi everyone,
I created two LABs in virtual environments, each running OPNsense as a firewall/router of their own LANs.
I also set a dual WAN failover on their WAN ports (one port with static IP, and a dhcp client on the other).
I then set a site-to-site Wireguard tunnel between the two OPNsense machines to make their LANs reach each other. Everything works great so far.

However, I noticed that the tunnel works as long as a WAN with static IP is UP on at least one side of the two LABs; in other words, if the two "static IP WANs" fail on both sides, the Wireguard tunnel stops working even though the two DHCP WANs are regularly up and the clients on both sides can go out to the Internet.
Is this expected and considered normal behaviour in a real-world scenario too?
Thanks
#7
Italian - Italiano / Wireguard via DHCP WANs
November 21, 2024, 01:04:31 PM

Moved to General Discussion. My bad, sorry
#8
Quote from: bartjsmit on November 20, 2024, 08:19:55 AM
Set all the internal MTU to 1500. Jumbo frames are best for dedicated storage networks/VLANs.

I checked. The MTU is already set to 1500 on every Cisco interface. Maybe the issue is something related to the virtualization
#9
Quote from: bartjsmit on November 19, 2024, 06:22:45 PM
There may be a discrepancy in the MTU at layer-2. Check for switches or network cards that are set to different values.

There is a virtual Cisco switch between OPNsense and clients
#10
UPDATE!!

I set MSS at 600 and now it works!

I can guess it, but I don't know exactly why.

#11
Quote from: Monviech (Cedrik) on November 19, 2024, 01:47:56 PM
Well can you tcpdump/wireshark on the requesting client to see if it receives the correct responses from the firewall when initiating an ssh session for example?


Ok. I ran wireshark on the windows 7 machine while I was trying to access the OPNsense's WEBGUI

#12
Quote from: Monviech (Cedrik) on November 19, 2024, 01:37:56 PM
If only traffic targeted to a service on the firewall itself does not work, the response of the firewall might be sent to a different destination than back to the requesting client.

I havent checked the packet capture sorry, just an idea.

I didn't set anything about the gateway, so it must be on the default setting.
Thanks
#13
Quote from: Monviech (Cedrik) on November 19, 2024, 01:09:36 PM
Maybe that VLAN has a Gateway set accidentally?

Where?

Apart from WebGUI access, everything works as expected.
Can you see anything interesting in the wireshark capture screenshot I uploaded earlier?

Very weird issue
#14
Quote from: bartjsmit on November 19, 2024, 12:53:45 PM
Can you access the firewall with SSH?

only from WAN or the MNG port, not from the PC on the VLAN
#15
Quote from: bartjsmit on November 19, 2024, 12:40:36 PM
System: Settings: Administration

Is the Web GUI listening on all interfaces?

Yes it is.
Thanks