pf NAT rule isn't working
Hi all,
I am running OpenBSD 5.1 in VMWare, I am using it as a firewall with 2
interfaces, and I am using the rule:
pass out on vic0 from 192.168.0.0/24 to any nat-to 192.168.101.8
to allow NAT but it is not working, because when I ping host A from host B which is behind the firewall I can still see the real IP address of host B in host A, it is not being translated to 192.168.101.8.
vic0 = 192.168.101.8
vic1 = 192.168.0.8
host A --> vic0 [OpenBSD] vic1 --> host B
Can anybody help me fix this issue?
Thanks in advance.
|