Hi,
There are 2 solutions apart from iptables:
1. Hardware solution: Buy a hub (~ Rs. 600 for 8 port I think - dont remember
exactly but very cheap) and connect both machines to this. You will have to set
them to DHCP and they will get LAN IPs from hub. This way you can add more
machines and also will not have issues with any protocol.
You can also buy a wireless router which you can plug either to your BSNL modem
or the (new) hub - that will give you wireless internet.
I have BSNL in my house and they have given me a wireless router - we use 2
laptops(wifi) and a desktop(Lan cable) in our house.
2. Software solution: Run squid on CentOS. It is a fairly easy install and will
also provide caching - this will improve your browsing experience.
If you are able to ping the Internet from CentOS, just load and configure squid
(~1-2 steps) and configure the proxy in your Ubuntu.
Squid will also help in terms of content filtering, access control, log of
sites visited.....
Squid will not help with ftp - there used to be a ftp-proxy sometime back. You
might have to configure ftp in iptables - which is again a pain.
Let me know if you run into issues.
I wouldn't recommend iptables as they are pretty complicated even for
experienced admins.
kc
K. C. Ramakrishna
www.rknowsys.com
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc