Solved

setup of an proxy server

Posted on 2000-03-01
17
212 Views
Last Modified: 2010-03-18
I have a DSL modem with a static IP address for my Linux/apache server.  The problem is that I need for my other systems to use this line to connect to the web. I have two network cards, one ISA the second PCI; the PCI card works, but I can not configure the ISA card.  I'm a new Linux user: its the best thing but very hard to get things working.  Please give me very simple instruction to get my system working
0
Comment
Question by:sbsys
  • 9
  • 8
17 Comments
 
LVL 12

Accepted Solution

by:
j2 earned 35 total points
ID: 2576522
TO config the ISA i would use a dos boot floppy, boot to dos and use whatever setup tool came with the card to disable PnP and set it to IRQ10 and I/O 300. ANd then yo umight have to tell your BIOS that irq10 is in use by a "legacy" or "non PnP device".

I am assuming you "just want to share the internet connection" and dont really want a proxy server?

I would suggest

1. install ipchains (if not done already) http://www.rustcorp.com/linux/ipchains/  (or use the RPM if you are using redhat)

2. DOwnload http://www.pointman.org/PMFirewall/download/pmfirewall-1.1.3.tar.gz

3. Unpack it (tar zxvf pmfirewall-1.1.3.tar.gz)

4. Install it (cd to the directory, then run ./install.sh)

5. Answer the questions (defaults are good enough), but answer "yes" to the question "Will this box Masquerade connections for other PC's (y/n):"

Done. (pmfirewall also gives you decent firewalling)
0
 

Author Comment

by:sbsys
ID: 2578020
I think you left out a couple of things
   1. How do I install ipchains
   2. Do I need to rebuild my kernel

I'm just a applications programmer and tring to learn LINUX, so please forgive me for being "DUMB"

Thx very very much
Lonnie   :)
0
 
LVL 12

Expert Comment

by:j2
ID: 2578035
1. if yuo have the rpm just

rpm -Uvh name-of-rpm.rpm

if yo udo not use redhat/mandrake you will have to install manually according to the install manual fo ripchains.


2. No, not in most cases (As in stock RH / Mandrake / SuSE kernels) for other distributions the answer is "Don't know"

Which distro are you using?
0
 

Author Comment

by:sbsys
ID: 2578955
redhat/mandrake
0
 
LVL 12

Expert Comment

by:j2
ID: 2579145
the hte ipchains rpm is included on the CD, unless mandrake chose to exclude them.
0
 

Author Comment

by:sbsys
ID: 2599096
I've install all the programs listed above, now the problem is to put all this together.  I have a ADSL line going to my HUD and one windows95 system with one network card also connected to the hud and my linux box with one network card connected to the same hud.  If someone can give me the complete configuration step by very easy step I can give 100 points.


thanks
sbsys

PS: the only thing I want to do is to change the IP address and then play <----       ;)
0
 
LVL 12

Expert Comment

by:j2
ID: 2599472
First of all, most games does not work like this.

you have the step-by-step in steps 3-5 did you follow them?
0
 

Author Comment

by:sbsys
ID: 2614653
I think my rules are wrong, I just have a simple network with a ADSL.  I've applied a the programs and used the sample rules to try to get out though my ADSL modem which is connected to my hub.  My install is Mandrake 6.5
the IPCHAINS version is  ipchains 1.3.9, 17-Mar-1999.  when I type in "/sbin/ipchains -L" the following appears:


Chain input (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     icmp ------  knowspick.com        anywhere              any ->   any
ACCEPT     all  ------ !crtntx1-ar1-077-000.dsl.gtei.net/24 anywhere
  n/a
ACCEPT     all  ------ !crtntx1-ar1-077-000.dsl.gtei.net/24 anywhere
  n/a
Chain forward (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------  crtntx1-ar1-077-000.dsl.gtei.net/24 anywhere
  n/a
Chain output (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------ !crtntx1-ar1-077-000.dsl.gtei.net/24 anywhere
  n/a
ACCEPT     all  ------ !crtntx1-ar1-077-000.dsl.gtei.net/24 anywhere
  n/a                                                                          




Please help
Lonnie

0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 12

Expert Comment

by:j2
ID: 2614890
Hmm, that doesnt look like a set of pmfirewall rules. did you start the firewall after installing it?
0
 

Author Comment

by:sbsys
ID: 2615984
Yes, I'm very confused; what I'm getting from you is just install PMFirewall and that's it........ I'm seeing a lot of ducumentation on "IPChains" rule. Do I have to configure "IPChain" rules and/or "PMFirewall" rules.  Tell me what I need to do......



:(      :(
0
 
LVL 12

Expert Comment

by:j2
ID: 2616082
PM Firewall will configure the ipchains rules. so once you have done /etc/rc.d/init.d/pmfirewall start  

it should be up.
0
 

Author Comment

by:sbsys
ID: 2617337
I have done    /etc/rc.d/init.d/pmfirewall start and I still can't access the web from my win98 machine.  Let me sxplain my configuration;

      1.) linux apache machine with one network card
      2.) win98 machicne with one network card

My ADSL modem is plugged into my hub alone with both of my machines listed above; that is it!!

Do I need to configure my win98 machoine as far as gateway and/or DNS?????

Also when you configure the PMFirewall, it prompts for "eth0" divice for out going traffic and "eth1" for incomming traffic, but I had set both to "eth0" because I only have one network card in my Linux box.
   
0
 
LVL 12

Expert Comment

by:j2
ID: 2617672
pmfirewall assumes you have two cards in the firewall server. There is no good solution for running with a single nic.

"Do I need to configure my win98 machoine as far as gateway and/or DNS?????"  - yes, you will have to set it to use the linux as default gw, and set it to use the DNS of your ISP.
0
 
LVL 12

Expert Comment

by:j2
ID: 2617693
Sure you COULD run a single NIC and use ip aliasing, but i wouldnt, since that could mean problems with leaking broadcasts etc etc etc.
0
 

Author Comment

by:sbsys
ID: 2617957
How do I set up the second NIC, it's a ISA
0
 

Author Comment

by:sbsys
ID: 2618041
If I  install a second card, which belongs to the network and what will the second card be connected to?
0
 
LVL 12

Expert Comment

by:j2
ID: 2618712
Card 1 -> ADSL modem
Card 2 -> Hub or second computer

TO set up an isa card, the easiest way is to boot with a DOS floppy, then use whatever config utility the card has to disable pnp and set io to 300 and IRQ to 10. (Then you have to find the proper module to load, most 'generic' ISA boards are NE2000 compatible.)
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now