Wan't to route specific LAN host out of different gateway
-
I wan't one specific LAN host, to be routed out through another gateway (an OpenVPN client).
I currently have a Wireless SSID using this OpenVPN client gateway, and it works.
I was under the empression that it was enough to make a FIREWALL RULE on the LAN, but it doesn't work.Could somebody verify for me what the correct setup for this is?
Thanks.
The rule i made is:
Action: PASS
Interface: LAN
Source: SINGLE HOST (the address of the pc)
Gateway: (the VPN client gateway) -
That looks good. Clear states and test again.
That rule must also be above any other rule that matches the same traffic to be effective.
-
Yes, the rule is the top-most. Just before the "default gateway rule" the rest of the LAN uses.
-
Then it should be working. Post your rules.
-
And do you have way for pfsense to nat that source IP to that vpn connection IP?
-
Attached are FW LAN rules, and NAT.
I have added log on the .201 rule, but nothing in the log!
-
I finally solved it. I mixed up two gateways. My mistake.
Thanks for your help and interest. I really appreciate it.