Hi guys,
How can I set up nat to do static nat for my servers and just nat to exit interface ip for the rest of the LAN? I have a block of 16 IPs that I want to do static nat for. This is the server subnet. For other clients it should just use its out interface IP assigned dynamically by the ISP. I am using PPPoE to connect to DSL.
I understand that
would nat just fine and I can add more rules for each IP I have, but when there is traffic for clients it should simply use the em0 (out interface) IP. So if nat goes through the current rules and can't find an alias would it simply drop packets ?
How can I set up nat to do static nat for my servers and just nat to exit interface ip for the rest of the LAN? I have a block of 16 IPs that I want to do static nat for. This is the server subnet. For other clients it should just use its out interface IP assigned dynamically by the ISP. I am using PPPoE to connect to DSL.
I understand that
Code:
nat addr 192.168.1.5 1.1.1.1