Trixbox 2.2 as Internet Sharing service / Squid server

muqeet
Posts: 3
Member Since:
2007-08-12

Hi,
I have Trixbox 2.2 installed on my pc with two network cards and I have a cable modem internet connection. I have connected my 1st network card Eth0 with cable modem to connect to internet and 2nd network card eth1 connect to my hub/switch.

My eth0 ip address is live Ip from my internet service provider and eth1 has 192.168.0.1.
I want to share my internet connect by using my trixbox server as squid or internet sharing server. Can anyone please tell me step by step configuration or installation?

Thank you in advance

Kind regards,

Muqeet



16again
Posts: 370
Member Since:
2007-03-04
This is not what trixbox is

This is not what trixbox is created for!
Although not recommended, if you do have iptables skills, you can make the box do NAT without much CPU overhead.
http://iptables-tutorial.frozentux.net/iptables-tutorial.html
Since Squid can generate pretty much disk I/O, better not try to run it ot the box.

Most setups use a separate box for things like these (pfsense)



teleweb
Posts: 192
Member Since:
2006-11-27
QoS?

So you can use iptables for the NAT routing, but can it do QoS as well?
How can you configure your trixbox to do QoS?



16again
Posts: 370
Member Since:
2007-03-04
Linux can do pretty good

Linux can do pretty good traffic shaping
http://lartc.org/lartc.html
Haven't tried it myself on trixbox itself, so I don't know if these goodies are already present in default trixbox. In the worst case, you must recompile the kernel to add traffic shaping stuff yourself



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.