[Voyage-linux] iptables and voyage 0.7.5
Arun Khan
(spam-protected)
Tue Dec 18 15:13:06 HKT 2012
On Tue, Dec 18, 2012 at 10:14 AM, John Schultz <jschultz0614 at gmail.com> wrote:
> Attached is the DOT diagram of my network.
Fantastic, it is better than using 1000 words to describe it :)
However, there is some information lacking (see below)
What do the lines with the arrows and 1.0 mean?
>
> What I need to do is enable natting in iptables on the gateway in order for
> the other nodes to gain internet access.
1. Mention subnet mask for clarity. From your numbering scheme, it
appears to be /16 but that is a guess
2. Mention clearly which node is the gateway to avoid ambiguity.
Again, from the diagram it seems to be 10.1.0.1.
>
> I think the NAT table is not there and all attempts to create it fail.
VL does *not* figure out that you intend to do 'Nat on the 10.1.0.1 node.
And what attempts have you made to create it but fail?
> What tweaks do I need to do to iptables to enable this feature and be able
> to access the outside?
You will have to script the firewall rules (iptables) and ensure that
they are inserted in the kernel at every boot e.g. in /etc/rc.local
There are several great sites that will help with creating the iptables rules.
Please search with key words "linux+iptables+nat"
HTH,
-- Arun Khan
More information about the Voyage-linux
mailing list