@viragomann said in How to route LAN traffic thru OVPN:
@ispasoiumircea
In the outbound NAT rule the source has to be your LAN, so 192.168.15.0/24 presumably.Consider that the policy routing rule on LAN directs all matching packets to the OpenVPN server. Hence it doesn't allow access to any internal destinations like DNS from this device.
This can be done, but you need to use a DNS server on the concerned machine, which is accessible over the VPN. If there is any, you can simply forward DNS requests with a port forwarding rule on pfSense and need nothing to change on the device itself.
Otherwise add an additional rule to pass internal traffic above of the policy routing rule.The rule on the OpenVPN is only needed for inbound traffic. But I guess, you don't want any, so you can remove it.
Hello,
Thank you. Its worked just adding outbound NAT rule from LAN to VPN.
Good day,