OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • Static route issue: Access problems with some containers (ipvlan L3)
« previous next »
  • Print
Pages: [1]

Author Topic: Static route issue: Access problems with some containers (ipvlan L3)  (Read 1249 times)

catapimba

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Static route issue: Access problems with some containers (ipvlan L3)
« on: June 25, 2024, 01:24:52 am »
I have a Docker host where I defined an ipvlan L3 network with a subnet of 192.168.95.0/24. I then created containers with specific IPs within this network. On OPNsense, I configured a gateway pointing to my Docker host and a static route for the 192.168.95.0/24 network.

I can ping all the containers and access my MSSQL container, but I can't access other containers like MariaDB, NGINX, and phpMyAdmin. Interestingly, if I change them to Docker's default network, they become accessible again. I suspect firewall rules might be blocking traffic on specific ports, but I cannot add rules for this subnet, right? I also enabled the OPNsense advanced firewall option "Bypass firewall rules for traffic on the same interface," but that didn't make a difference either.

Any help is appreciated.
Logged

kryptonian

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: Static route issue: Access problems with some containers (ipvlan L3)
« Reply #1 on: July 09, 2024, 01:45:56 pm »
Hey,

Random question, but does your containers be also unable to access internet via the gw? If yes, and firewall log shows state violations, that's probably related to your issue.
Logged

catapimba

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Static route issue: Access problems with some containers (ipvlan L3)
« Reply #2 on: September 28, 2024, 01:06:54 am »
Sorry for only replying today. It was actually a misconfiguration in my docker's ipvlan.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • Static route issue: Access problems with some containers (ipvlan L3)
 

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