ipv4 rule to mirror pfsense rule
I can't seem to create a pfblockerng rule to send traffic from the lan to my vpn gateway. Can this be done?
Without knowing more about what you're trying to do the following configuration should create a rule similar to the screenshot you posted.
Replace "Alias for your 10.40.2.56 IP" with an alias you created that contains that IP and select the appropriate gateway at the bottom. Protocol can't be "any" for advanced rules but "TCP/UDP" is the best you can do.
This rule will allow all TCP/UDP traffic from 10.40.2.56 to get to the gateway but it cannot force all traffic from 10.40.2.56 to go through the gateway. That would require a routing rule, not a firewall rule (outside the scope of pfBlockerNG).