OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Cannot Access File Shares after upgrading to 22.1.8
« previous next »
  • Print
Pages: [1]

Author Topic: Cannot Access File Shares after upgrading to 22.1.8  (Read 984 times)

somnuk_s

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Cannot Access File Shares after upgrading to 22.1.8
« on: May 26, 2022, 10:06:10 am »
Last night, we upgrade from 21.7.8 to 22.1.8, Windows File sharing across IPsec VPN is not working. Using Microsoft diagnostic it said server is listening but not responding. Now, our work around is to create a rule on LAN to allow LANnet (172.16.33.x) to access File Server on remote site (10.3.32.x) on Firewall Server (172.16.33.x network).

Prior upgrade, every thing is working fine. No change to firewall on both sites. Both sites are using Opnsense 22.1.8. Any idea what might have cause this?

Regards,
Somnuk
Logged

_Alchemist_

  • Newbie
  • *
  • Posts: 46
  • Karma: 1
    • View Profile
Re: Cannot Access File Shares after upgrading to 22.1.8
« Reply #1 on: May 26, 2022, 11:56:04 am »
In the 22.1.8 Changelog the only things about the Firewall I could find is this:
  • firewall: various usability and visibility improvements for aliases
  • firewall: performance improvement for large numbers of port type aliases
  • firewall: simplify sort and add natural sorting in alias diagnostics
I suppose your Network looks something like this?

Code: [Select]
[SMB Clients] <-- 172.16.33.x --> [OPNsense 1] <-- IPSec (WAN) --> [OPNsense 2] <-- 10.3.32.x --> [SMB Server]
Can you show how your Firewall Rules Look like? And do you have multiple Gateways?
I haven't used IPSec with OPNsense yet, only with OpenVPN and WireGuard, but from the other recent Posts, it seems like there might be issues with both IPSec and Aliases in 22.1.8.
« Last Edit: May 26, 2022, 11:58:00 am by _Alchemist_ »
Logged
OPNsense VM1: 2 vCore (i3-10100), 2GB RAM, 40GB SSD (NVMe), 10 Gbit/s NIC (X520-DA2)
OPNsense VM2: 2 vCore (i3-10100), 2GB RAM, 40GB SSD (NVMe), 10 Gbit/s NIC (X520-DA2)

somnuk_s

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Cannot Access File Shares after upgrading to 22.1.8
« Reply #2 on: May 27, 2022, 03:23:20 am »
We created an alias SMB_Ports 137:139;445. This SMB_Ports alias uses on the WAN Rules  that block incoming traffic from WAN and also on LAN rules to WAN Net. For IPsec rules, allow any to any no blocking. I have tried disables all these rules, but the problem persist. Client cannot access SMB shares on remote sites.

Regardds,
Somnuk
Logged

somnuk_s

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Cannot Access File Shares after upgrading to 22.1.8
« Reply #3 on: May 28, 2022, 06:03:53 am »
On the Source Firewall, I disable any relate to SMB ports but the error still show below.
LAN      2022-05-28T10:50:05   172.16.33.84:55654   10.3.32.12:139   tcp   Default deny / state violation rule   
LAN      2022-05-28T10:50:04   172.16.33.84:55654   10.3.32.12:139   tcp   Default deny / state violation rule   
LAN      2022-05-28T10:50:04   172.16.33.84:55653   10.3.32.12:445   tcp   Default deny / state violation rule   
LAN      2022-05-28T10:50:03   172.16.33.84:55653   10.3.32.12:445   tcp   Default deny / state violation rule

So, I create a rule to allow LAN Net to access remote Network now traffic go through and the log look like below. Since I use IPsec Tunneling, it should look at IPsec Rule in the first place but while it looks in LAN Rule first. Is my understanding correct? Old version of OpnSense has no problem, problem occur in 22.1.8.

IPsec      2022-05-28T10:58:32   172.16.33.84:55718   10.3.32.12:445   tcp   IPsec internal host to host   
IPsec      2022-05-28T10:58:32   172.16.33.84:55716   10.3.32.12:445   tcp   IPsec internal host to host   
IPsec      2022-05-28T10:58:30   172.16.33.84:55694   10.3.32.30:445   tcp   IPsec internal host to host   

Regards,
Somnuk
Logged

meyergru

  • Sr. Member
  • ****
  • Posts: 385
  • Karma: 39
    • View Profile
    • congenio
Re: Cannot Access File Shares after upgrading to 22.1.8
« Reply #4 on: May 28, 2022, 10:05:06 am »
Are you really talking about 22.1.8 or 22.1.8_1? 22.1.8 has a known problem with network aliases which might account for all your described problems.

Logged
DEC760 - the model that Deciso never built

Electr0nik

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Cannot Access File Shares after upgrading to 22.1.8
« Reply #5 on: June 08, 2022, 03:52:40 pm »
I have a similar problem with 22.1.8_1 but it is not permanent. my smb shares are working most of the time, but sometimes they stopped working over ipsec tunnel while still pinging ok. after some time it will work again
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Cannot Access File Shares after upgrading to 22.1.8
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2