[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PF without NAT : filtering, but leaving IP address the same
All the PF examples and even Jacek's book seem to assume you want to
do NAT : the small-office setup : the one public IP and many
192.168.0.__ IPs inside.
But how would PF be used as a router with many incoming IP addresses
and many receiving IP addresses?
Say I have incoming: from 188.8.131.52 to 184.108.40.206 on a T1 connection.
One OpenBSD/PF machine is receiving that input on a single NIC card,
and wants to send out some traffic on another NIC card connected to a
switch like this:
incoming 220.127.116.11 allow port 22,80,443 to go to internal 18.104.22.168
incoming 22.214.171.124 allow port 22 to go to internal 126.96.36.199
incoming 188.8.131.52 allow port 22,25,110 to go to internal 184.108.40.206
Can PF do this kind of filter-and-route without doing NAT?
If so, any URLs of examples? I can only find examples with NAT.