Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

Internet Connection via linux machine

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
mujdat
Asked:
mujdat
1 Solution
 
marcelofrCommented:
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
 
mujdatAuthor Commented:
ok. i will try these commands and i will inform you
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now