Hi,
I am using PF firewall and have a logical interface vlan1010 which has a live IP, I want to write a nat/masquerade rule which says that whatever packet goes out from this interface, it should have source-IP same as the live IP assigned to this logical interface i.e. vlan1010 and when the packet comes back it should be routed back to the original local IP.
Can you help me write this rule ? I have tried following but it didn't help.
Regards
I am using PF firewall and have a logical interface vlan1010 which has a live IP, I want to write a nat/masquerade rule which says that whatever packet goes out from this interface, it should have source-IP same as the live IP assigned to this logical interface i.e. vlan1010 and when the packet comes back it should be routed back to the original local IP.
Can you help me write this rule ? I have tried following but it didn't help.
Code:
nat on vlan1010 from {192.168.0.0/24} to any -> (vlan1010).
Regards