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:
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to view remote client's ipv6 address? 5 78
linux, squid server 23 59
linux  centos   virtualization network quetion 6 83
How to Edit Files in Linux 6 124
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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