Quick question for enabling NAT in LTSP (or edubuntu) - iptables details
Patrick McKnight
pem725 at gmail.com
Mon Aug 17 23:30:40 BST 2009
Gavin et. al.,
Attached is a simple bash script that carries out the procedures
listed on enabling NAT on LTSP/Edubuntu servers. I checked the script
out fairly extensively but would love to get some feedback from the
community on its overall utility. Despite the awesome instructions on
the ThinClientHowtoNAT, I found NAT to be difficult to setup because
each detail is important. Perhaps I am not very good at following
instructions to the letter - a conversation for another time.
NATscript takes all the mystery out of the operations and may help new
users setup their servers quicker.
On Fri, Aug 14, 2009 at 5:58 PM, Gavin McCullagh<gmccullagh at gmail.com> wrote:
> Hi,
>
> On Fri, 14 Aug 2009, Patrick McKnight wrote:
>
>> While writing my script, I noticed a difference between the HOWTO specs
>> and my interfaces file. I have my LTSP network on eth1 and so I used up
>> iptables-restore < /etc/ltsp/nat for eth1 and NOT eth0 as specified in
>> the HOWTO. That got me thinking. Is eth0 the proper interface to
>> restore the iptables setting or is eth1?
>
> https://help.ubuntu.com/community/UbuntuLTSP/ThinClientHowtoNAT
>
> What it actually says is:
>
> "add the extra line 'up iptables-restore < /etc/ltsp/nat' to the bottom of
> the eth0 (or whichever is your LTSP interface) stanza of
> /etc/network/interfaces "
>
> so it does say that you should put it against the interface which LTSP runs
> on.
>
>> If it matters then I am confused. My eth0 is my NIC that goes to the
>> internet; eth1 is my LTSP NIC. Can anyone help clear up my confusion if
>> I am truly confused?
>
> I must say I didn't ever check if the order was important but imagined it
> likely would be (hence the statement). If you try to load a bunch of
> iptables rules which relate to interfaces which are not yet up you may find
> those rules fail to load. I'm not sure, but it sounds plausible.
>
> Gavin
>
>
> --
> edubuntu-users mailing list
> edubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>
--
Cheers,
Patrick
------------------------------------------
Patrick E. McKnight, Ph.D.
Department of Psychology
George Mason University
MSN 3F5, 4400 University Drive
Fairfax, VA 22030-4444
703-993-8292 (office)
703-993-1359 (fax)
pmcknigh at gmu.edu
http://mres.gmu.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NATscript
Type: application/octet-stream
Size: 6128 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/edubuntu-users/attachments/20090817/e59f595b/attachment.obj
More information about the edubuntu-users
mailing list