--- Rohan Almeida <[EMAIL PROTECTED]> wrote: > > HI All, > > In short, > o I'm using linux as a MASQ gateway and transparent proxy (squid) > o The internal network uses class B private addresses > o The linux gateway has a static internet IP > > Now, some of the clients want static official IP's, since they are > corporate > users, while other users (home, etc) can do with private IP. > > How to implement on linux. > I'm aware that i have to do something called 1:NAT, or something like > that!! > Could someone plz tell me in short
--- Rohan Almeida <[EMAIL PROTECTED]> wrote: > > HI All, > > In short, > o I'm using linux as a MASQ gateway and transparent proxy (squid) > o The internal network uses class B private addresses > o The linux gateway has a static internet IP > > Now, some of the clients want static official IP's, since they are > corporate > users, while other users (home, etc) can do with private IP. Do you want to put the machines with local ip accesable from the internet using NAT ??? if yes try Linux virtual server use ipvsadm nomally the kernel support is required to achive these . and redhat kernels come with these support as a modules load the modules ip_vs_rr modprobe ip_vs_rr assuming you want to host a web server on the machine with private ip 192.168.1.200 and your linux gateway has ip xx.xx.xx.xx(public ip) then do the following ipvsadm -A -t xx.xx.xx.xx:80 -s rr ipvsadm -a -t xx.xx.xx.xx:80 -R 192.168.1.200:80 -m -w 1 thats it all request to port 80 from internet will be directed to local machine 192.168.1.200 read more on it on www.linuxvirtualserver.org regards yunus __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
