Floating Rules don't work properly.

Started by gwaitsi, November 18, 2016, 11:45:48 AM

Previous topic - Next topic
November 18, 2016, 11:45:48 AM Last Edit: November 18, 2016, 11:57:56 AM by gwaitsi
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.