Solved

Internet Connection via linux machine

Posted on 1998-10-07
2
172 Views
Last Modified: 2010-03-18
i  have a linux box that i used as a proxy server. and have another 5 clients using windows 95. all clients can able to connect internet  and surf. but they can not use any irc programs (ex. mirc).what can i do? should  i configure linux box or windows 95 clients? i think it is possible to run irc programs in such an enviroment . thanx for your helps  
0
Comment
Question by:mujdat
2 Comments
 
LVL 3

Accepted Solution

by:
marcelofr earned 100 total points
ID: 1587060
use masquerading (you may need irc module to /DCC). Issue the following command as root:

ipfwadm -F -i masq -S 192.168.0.0/255.255.0.0 -D 0/0

where 192.168.0.0 is you internal network [your milleage may vary] and 255.255.0.0 is your netmask (if it fails, maybe you don't have masquerading support in kernel) then configure the linux box as default gateway on your win95 and you are done.

Next two steps: add the command to the end of /etc/rc.d/rc.local to enable masquerading and maybe also insert the irc masquerading module:

modprobe ip_masq_irc

Only one thing to note: in this way you are enabling almost ALL services to internal machines: they will be able to surf the web without proxy. If this is a BAD THING (TM) read the man of ipfwadm, it is a full firewall  ;-)
0
 

Author Comment

by:mujdat
ID: 1587061
ok. i will try these commands and i will inform you
0

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

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 use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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