Solved

Internet Connection via linux machine

Posted on 1998-10-07
2
170 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu server 12.04 creating broadcast on network 6 85
E-mail settings for Fail2ban 7 116
Lame BIND 9.3 10 58
route 2 traffic streams on single NIC 6 37
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 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

22 Experts available now in Live!

Get 1:1 Help Now