On 9/12/06, Michael Tinsay <[EMAIL PROTECTED]> wrote:

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.

Now this is very interesting.  Paano po sa iptables itong number 6?  Sorry, napakalimited lang po talaga ng aking knowledge sa iptables. In fact, I had to use ipkungfu to share an internet connection.  :(

BTW, im using Ubuntu.

--- mike t.



--
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

Reply via email to