two internet providers
hello
i have slackware installed and i have two internet connections , ADSL(2,5mbps) + CableModem(1mbps)
i want to share the connections in a small network
NAT for the ADSL connection, and a proxy server for the cablemodem connection
i searched all over the internet (probably not where i was supposed to) but i could'n find a solution
if someone could give me a tip i would really appreciate it
sorry for my english
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 11 lines · Danut Chereches
hello
i have slackware installed and i have two internet connections ,
ADSL(2,5mbps)+ CableModem(1mbps)
i want to share the connections in a small network
NAT for the ADSL connection, and a proxy server for the cablemodem connection
i searched all over the internet (probably not where i was supposed to) but i could'n find a solution
if someone could give me a tip i would really appreciate it
The simplest solution would be to use two systems, one connected to the Cable Modem and running proxy server on it and the other one connected to ADSL connection and with packet forwarding enabled and iptables rules for the NAT and forwarding the traffic. The first system can be specified in the proxy server settings and the IP of the second system can be specified as the gateway for the clients. You can also configure the squid proxy server to act as a transparent proxy and redirect the outgoing port 80 traffic through it using iptables rules on the gateway.
If you want to use a single system as the gateway and proxy server, you can configure it to use multiple gateways and divide the outgoing traffic where the web traffic (and ftp, if desired) is routed through the Cable Modem and the rest through the ADSL connection. You can also specify the outgoing tcp address in squid proxy server configuration. Please also see the LARTC How To and the documentation for ip tool.
Signature · 7 lines
Manish Kathuria Tux Technologies http://www.tuxtechnologies.co.in/ _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
This would be really easy to do with one box. Have an interface for the cable modem, and an interface for the dsl. Have your default route go to the dsl modem (ip route add/change default table main dev eth<DSL> via xxx.xxx.xxx.xxx <dsl gateway address>. Then you can configure whatever proxy you are going to use to use the other interface. I have done similar setups using squid as the proxy with transparent redirection as well as using the Dante SOCKS server, both have configuration options to use a specific interface for their traffic. Let me know if you have any questions, id be happy to provide further detail.
--
Charlie Meyer
University of Illinois at Urbana-Champaign College of Engineering - Department of Computer Science Phi Kappa Psi - Property Manager [email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Manish Kathuria
Sent: Saturday, January 27, 2007 9:11 AM
To: Danut Chereches
Cc: [email protected]
Subject: Re: [LARTC] two internet providers
Quoted 8 lines · Danut Chereches
hello
i have slackware installed and i have two internet connections ,
ADSL(2,5mbps)+ CableModem(1mbps)
i want to share the connections in a small network
NAT for the ADSL connection, and a proxy server for the cablemodem connection
i searched all over the internet (probably not where i was supposed
to)
Quoted 3 lines
but i could'n find a solution
if someone could give me a tip i would really appreciate it
The simplest solution would be to use two systems, one connected to the Cable Modem and running proxy server on it and the other one connected to ADSL connection and with packet forwarding enabled and iptables rules for the NAT and forwarding the traffic. The first system can be specified in the proxy server settings and the IP of the second system can be specified as the gateway for the clients. You can also configure the squid proxy server to act as a transparent proxy and redirect the outgoing port 80 traffic through it using iptables rules on the gateway.
If you want to use a single system as the gateway and proxy server, you can configure it to use multiple gateways and divide the outgoing traffic where the web traffic (and ftp, if desired) is routed through the Cable Modem and the rest through the ADSL connection. You can also specify the outgoing tcp address in squid proxy server configuration. Please also see the LARTC How To and the documentation for ip tool.
Signature · 11 lines
Manish Kathuria Tux Technologies http://www.tuxtechnologies.co.in/ _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc