Find the answer to your Linux question:
Results 1 to 2 of 2
hi all i have two proxies configured at my place the servers ips are 172.16.1.1 and 172.31.1.1 both the servers are running squid proxy servers. but the users of the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    4

    communicate between two lans


    hi all

    i have two proxies configured at my place
    the servers ips are 172.16.1.1 and 172.31.1.1

    both the servers are running squid proxy servers. but the users of the 16 pool cannot communicate with the users of 31 pool unless they change their ips in 31 pool.

    i wanted that both the pool can ping each other and access each others ip .
    does ne1 has an idea how this can be done through iptables.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,904
    You have two options.

    You can put a machine between the two networks to act as a gateway (this is technically a "firewall", but really it just forwards IP traffic), in this you put a network card connected to each lan, and routing rules to allow it to forward packets between the two.

    Or you could connect both the networks directly, and fool the network protocol into thinking that it's all one big LAN by changing the netmask for all computers to FF.F0.00.00. I don't think this is safe if the network is connected to the Internet, though (but I could be wrong).
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •