I've been trying to get this scenario to work on a WRT54G 2.2 with DD-WRT v23-Final. (This runs a cut down version of Linux)
I have 5 external IP addresses (184.108.40.206, 112 for example) , and an internal network with private addresses. (10.0.0.x).
I'd like to be able to do 1 - 1 NAT with four of the addresses, statically to internal hosts, with no port forwarding, so all traffic is forwarded straight through.
220.127.116.11 -> 10.0.0.2
18.104.22.168 -> 10.0.0.3
I'd like the fifth address to be a 'catch-all' address and have any other internal addresses NAT'd to it. (I understand port forwarding would be needed here.)
22.214.171.124 -> 10.0.0.10, 10.0.0.11, 10.0.0.12 etc
I think this is possible with IPTables, I'm just not sure of the chains/tables used within DD-WRT.
Can anyone suggest a solution?
I'd thought of not NATing the first 4 hosts, and giving the internal machines external addresses, although this is not ideal.