Natanael Copa
905629f47e
net: support set public ip range for forward mode nat
...
Support setting which public ip to use for NAT via attribute
address in subelement <nat> in <forward>:
...
<forward mode='nat'>
<address start='1.2.3.4' end='1.2.3.10'/>
</forward>
...
This will construct an iptables line using:
'-j SNAT --to-source <start>-<end>'
instead of:
'-j MASQUERADE'
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Laine Stump <laine@laine.org>
2013-02-19 14:42:18 -05:00
..
2013-02-08 11:34:26 +00:00
2013-02-08 11:34:26 +00:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2013-01-22 17:29:25 +01:00
2012-12-21 11:17:12 +00:00
2013-02-12 11:06:03 +00:00
2013-02-11 16:38:21 -07:00
2012-12-21 11:19:50 +00:00
2012-10-15 12:09:10 +02:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:50 +00:00
2013-02-07 14:08:14 -05:00
2012-12-21 11:19:50 +00:00
2013-02-07 14:08:14 -05:00
2012-12-21 11:19:50 +00:00
2013-02-19 14:42:18 -05:00
2013-02-19 14:42:18 -05:00
2013-02-05 19:22:25 +00:00
2013-02-05 19:22:25 +00:00
2013-02-05 15:49:25 +00:00
2013-02-05 15:49:25 +00:00
2012-12-21 11:19:50 +00:00
2012-09-20 16:30:55 -06:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:17:12 +00:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2013-01-30 11:08:41 +01:00
2013-01-05 08:40:00 +01:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2013-01-04 18:07:11 -07:00
2013-01-04 18:07:11 -07:00