Hi everyone. Does anybody knows how to make NAT of a subnet not directly connected to NAT router. For example:
192.168.10.0/24 <----- router1 ------> 192.168.5.0/24 <----- NAT router2 -----> Inet
I have tried to do this with PF
nat on $inet_if from 192.168.5.0/24 to any -> ($inet_if)
and ipnat
map fxp0 172.27.8.0/24 -> 0/32
with no result.
The question is: How to make NAT working for 192.168.10.0/24 on the router2 ? Which firewall to use is not principal.
192.168.10.0/24 <----- router1 ------> 192.168.5.0/24 <----- NAT router2 -----> Inet
I have tried to do this with PF
nat on $inet_if from 192.168.5.0/24 to any -> ($inet_if)
and ipnat
map fxp0 172.27.8.0/24 -> 0/32
with no result.
The question is: How to make NAT working for 192.168.10.0/24 on the router2 ? Which firewall to use is not principal.