Linux Masquerade server

Posted on 1998-01-24
Last Modified: 2010-03-18
I am a certified Novell Netware engineer and Microsoft Windows NT administrator, and I HAVE to install a linux Masquerade server.
My knowledge in linux is VERY minimal, so can you please help with the linux procedures?
The server will be a 386/486 4/8mb ram (please say what configuration is enough for small network - 2/3 users), and will have one nic to connect to the internet, and one will connect it to the lan. Both Of them will be artisoft ae2/ae3 - Full ne2000 compatibles.
Please give an explanation as detailed as you can, because my knowledge in linux is minimal.

I am giving this amount of points (240)* excelleng grade for a answer that will be enough.

Thanks Alot,
Avi Shava

Novell Netware Administrator
Windows NT Administrator
Web Designer
Question by:avish
  • 5
  • 2
  • 2
  • +1

Author Comment

ID: 1587435
Edited text of question

Author Comment

ID: 1587436
Adjusted points to 240
LVL 32

Expert Comment

ID: 1587437
First, the hardware configuration.  Which is it 386 or 486?  4MB or 8MB?  While linux will run on a 386/4MB, it's not pretty.  For any practical use, I'd recommend nothing less than 486-66 with 16MB RAM.

As far as linux itself, probably the easiest to install and get up and running would be RedHat.  Get a copy of the release on CDROM and you can have it installed and running in 30 minutes or less.  The RedHat distribution includes the IP masquerading/proxy software so it's easy to install as well.

Here is a link to the documentation on setting up IP-Masquerading:

If what you REALLY want to do is setup a firewall/proxy, this document is helpful:
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


Author Comment

ID: 1587438
I can buy or 386 or 386 4/8 mb, but I prefer to buy the minimum i need. This server should be only Masquerade server.
I donwload all redhat 5 linux (270 mb.) but it does not include the server. When Can i download only the server?

Expert Comment

ID: 1587439
The answer from Jhance is an excellect response to your question. As all good Novell Netware Administrators, Windows NT Administrators and Web Designers know, you need to RTFM! You cannot except a complete answer to this question here. Some basic understanding of Linux is required. Good luck.
LVL 32

Expert Comment

ID: 1587440
The firewall and IP masquerading sutff is included in the linux kernel and after you install it you will need to build a new kernel with that stuff turned on.  RedHat makes this very easy but you will have to read the docs.

If you read the file at it talks about the IPFWADM firewall administration program.  This might not be included in the RedHat downloadable (but is on the CDROM).  You can get it as described in the document:

  ·  Ipfwadm 2.3 or newer available from

Author Comment

ID: 1587441
I already sucessfully installed linux.
As I know, I have to install:
1. connect the server to the internet.
2. connect the server to the intranet.
3. Install the Masquerade server.
I downloaded the file, readed the documentation, but I steel have problems with the installation of the internet/intranet connectivity. The docs included help me only to install it on slip/ppp service.
I have to install it into a network connected in frame relay.

As first step, Please help me installing the cards (not phisicly!), including where I set up the protocols.

Thanks Alot,
LVL 12

Accepted Solution

j2 earned 250 total points
ID: 1587442
If youy are going to use a 386, you will need 8MB as you will have to emulate the math coprocessor (or buy a 387 chip).

Then all you really have to do is to set it up as a normal linux machine, and recompile the kernel to support masquerading/forwarding/aliasing.. then it is just a question of adding something apropriate to the /etc/rc.d/rc.local such as


/sbin/ipfwadm -I -p accept
/sbin/ipfwadm -O -p accept

/sbin/ipfwadm -F -p deny

/sbin/ipfwadm -F -a masquerade -P all -S0.0.0.0/0 -D194.52.20.0/24
/sbin/ipfwadm -F -a masquerade -P all -D0.0.0.0/0 -S194.52.20.0/24

Observe that the -D sections should NOT be on a line of their own.. bur rather directly after /0 (the formatting of EE is a bit crude) :)

soo, this plus a working network setrup in general will work (and of cource replace with what is apropriate for your net.

Author Comment

ID: 1587443
thanks alot!!! I created it
LVL 12

Expert Comment

ID: 1587444
ehm.. disregard the /usr/local/sbin/sshd line tho! it is my secureshell deamon! :)


Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question