OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Floating Rules don't work properly.
« previous next »
  • Print
Pages: [1]

Author Topic: Floating Rules don't work properly.  (Read 2261 times)

gwaitsi

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Floating Rules don't work properly.
« on: November 18, 2016, 11:45:48 am »
I have two LAN segments green and blue.
WAN is connected via OpenVPN.
I have a work laptop which i want to bypass the VPN and go over normal WAN.

If i set on Firewall-Rule on
Interface Green0
Proto Any
Source mylaptop
destination Any
Gateway Red0_DHCP

it is working.

if i try to make this rule as a floating rule

Interface Green0, Blue0
Proto Any
Direction (tried both out and in)
Source  mylaptop
Destination Any
Gateway Red0_dhcp

It continues to route via OpenVPN and not the Red interface.

This is also true for a DNS rule.
I have to make a separate DNS rule on the green and blue interface
Proto TCP/UDP
Source Any
Port Any
Destination Any
Port 53
Gateway *
This is working.

If i make a floating rule.
The services that use the openVPN work, but mylaptop doesn't resolve DNS names.







« Last Edit: November 18, 2016, 11:57:56 am by gwaitsi »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Floating Rules don't work properly.
 

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