Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to specify the use of iptables NAT'ing where you can use SNAT for a pool of outside addresses, but when the last IP is about to be used it is used as an overloaded outside IP? I remember hearing about this with Cisco equipment. But as unsure how to craft it as iptables.

So if I have a outside pool of giving me 6 IPs. Could I do a SNAT iptable rule for 5 of them and an masquerade for the last?

Assuming I have a /24 on the inside.


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.