Here's how I'm doing it right now,
User1 (NAT) ------+
| L
User2 (Proxy) ----+ A
| N F
| i
+-- (eth0) r
e
w
+-- (eth1) a
| l
DSL1 -------------+ D l
| M
DSL2 -------------+ Z
1. eth1 is multihomed (i.e. has two IP addresses, one
for each subnet of the respective DSL line)
2. eth0 is not multihomed.
3. User1 has its default gateway set to the firewall.
The browsers (IE and Firefox) are not set to use any
proxy.
4. User2 has no default gateway set, and the browsers
are set to use the proxy service (squid) in the
firewall.
5. The firewall is set to allow NAT for User1 but not
User2.
6. iptables is used to direct traffic to the proper
DSL line.
--- mike t.
--- "david t. asuncion, jr." <[EMAIL PROTECTED]>
wrote:
> Maari po bang maishare ang dalawang internet
> connection thru sa isang PC at
> papaano?
>
> Bale ganito po sana ang idea ko...
>
>
> internet connection 1 ----->
> NIC1 NIC2
> <------- internet connection 2
>
> |
> |
> will share NIC1 connection thru ------> NIC3
> NIC4 <------
> will share NIC2 connection
> squid
> proxy
> via NAT
>
> Ang setup po eh apat na NIC sa isang PC. Maari po
> bang ang isang NIC na
> nakadikit sa isang LAN eh "makapili" ng kanyang
> internet connection na
> ishashare?
>
> May setting ba sa squid proxy na puedeng siyang
> mamili ng internet
> connection? Maari po bang kung puede eh pakituro na
> rin po ung commands or
> script na gagamitin kasi po wala po talaga akong
> masyadong idea hinggil
> dito.
>
> Ang totoo po nyan eh dalawang Smart Bro po yan na
> gusto ko ishare sa isang
> LAN, ung isang connection eh ishare ko sana with
> squid proxy samantalang ung
> isa eh thru NAT.
>
> Please tulong po. Salamat!
>
>
>
> David Tacasa Asuncion, Jr.
> website keeper, forever linux newbie, BUM
> extraordinaire
>
> Linux User # 406430
> http://counter.li.org/
>
> GPG: 0A024BC0
> > _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph