Search squid archive

need help about mutiple DSL on single machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all folk,

I have below network configuration,


eth0 203.1.1.1/24 (first dsl link)
eth1 204.1.1.1/24 (first dsl link)
eth2 205.1.1.1/24 (first dsl link)
eth3 206.1.1.1/24 (first dsl link)

eth4 192.168.1.1/24 (first ethernet link)
eth5 192.168.2.1/24 (second ethernet link)
eth6 192.168.3.0/24 (third ethernet link)
eth7 192.168.4.0/24  (four ethernet link)


i have following department in my office

dept vishnu 192.168.1.0/24 (first dept)
dept deepak 192.168.2.0/24 (second dept)
dept parsad 192.168.3.0/24 (third dept)
dept pirtvi 192.168.4.0/24 (fourht dept)

i want to use all dsl links in a single machien, it it
possible .

what do you suggest to separate all DSL system's and
separate a LAN Server that have four ethernet cards.
What's best ?

how can i assign dsl of first,second,third,fourth in
squid.conf file.

i want to share  203.1.1.1/24 to 192.168.1.0/24 lan
i want to share  204.1.1.1/24 to 192.168.2.0/24 lan
i want to share  205.1.1.1/24 to 192.168.3.0/24 lan
i want to share  206.1.1.1/24 to 192.168.4.0/24 lan

what iptables commands required for that purpose.

and how to setup ACL.

How can i define acl that 

192.168.1.0/24 will only use dsl link 1
192.168.2.0/24 will only use dsl link 2
192.168.3.0/24 will only use dsl link 3
192.168.4.0/24 will only use dsl link 4


for separe machines


machine - A that contains 203.1.1.1/24
                          204.1.1.1/24
                          205.1.1.1/24
                          206.1.1.1/24

machine - B that contains 192.168.1.0/24
                          192.168.2.0/24     
                          192.168.3.0/24  
                          192.168.4.0/24  

how to redirect request of port 80 of 192.168.1.0/24
to redirect to 203.1.1.1:3128

how to redirect request of port 80 of 192.168.2.0/24
to redirect to 204.1.1.1:3128

how to redirect request of port 80 of 192.168.3.0/24
to redirect to 205.1.1.1:3128

how to redirect request of port 80 of 192.168.4.0/24
to redirect to 206.1.1.1:3128

what iptables command required for that purpose.

Regards
Linux Lover



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux