Dear Friends, I am a newbie to IPTABLES and I have got a problem. I implemented a VPN on PPTP for my LAN (IP=192.168.7.5/255.255.255.0) on one of my Windows2000 Advanced server having permanent connetion to internet (IP=a.b.c.d/255.255.255.240)and to my LAN, successfully. All of my roaming clients (win98, win2000,winNT) at remote locations are able to connect to my VPN server when they connect to their local ISP and can access each and every TCP/IP service running internally on my Private IP machines (192.168.7.*) once they are authenticated. I wanted similar implementation of VPN preferably using IPTABLES setup on RH7.2.(eth0-192.168.7.254/255.255.255.0, eth1-a.b.c.d/255.255.255.240) so that I can have same Windows clients accessing my LAN of private IPs using a LINUX VPN server maybe on ipsec/PPTP, or whatever windows operating systems also support. I know the performance is going to be great in LINUX. Can anyone tell me about a good solution in LINUX OR the exact steps and IPTABLE commands OR links to documents, trying to achieve something similar? Thanks, Sagar Network Administrator CWL, Bangalore sagaratcwlglobal.com
> I implemented a VPN on PPTP for my LAN [...] > Can anyone tell me about a good solution in LINUX OR the exact steps and > IPTABLE commands OR links to documents, trying to achieve something similar?iptables itself can''t do tunneling. well, it could, but it''s not exactly designed to do it. you should look for a linux implementation of a pptp server (I used one a few years ago, and it worked fine ; search "pptpd" on google). iptables itself can be used to implement a firewall. Jerome Petazzoni <skaya at enix dot org> -- But of course there were the rules. Everyone knew there were rules. They just had to hope like Hell that the gods knew the rule s, too. (Guards! Guards!)
I installed a pptp server on Linux as a test and it worked. Do a google seach for poptop. I was able to connect with all windows boxes and width Linux clients. There is even some documentation on what settings you have to choose for win2000 to get it working. Stef On Monday 07 January 2002 15:23, Sagar Srivastava wrote:> Dear Friends, > > I am a newbie to IPTABLES and I have got a problem. > > I implemented a VPN on PPTP for my LAN (IP=192.168.7.5/255.255.255.0) on > one of my Windows2000 Advanced server having permanent connetion to > internet (IP=a.b.c.d/255.255.255.240)and to my LAN, successfully. All of > my roaming clients (win98, win2000,winNT) at remote locations are able to > connect to my VPN server when they connect to their local ISP and can > access each and every TCP/IP service running internally on my Private IP > machines (192.168.7.*) once they are authenticated. > > > I wanted similar implementation of VPN preferably using IPTABLES setup on > RH7.2.(eth0-192.168.7.254/255.255.255.0, eth1-a.b.c.d/255.255.255.240) so > that I can have same Windows clients accessing my LAN of private IPs using > a LINUX VPN server maybe on ipsec/PPTP, or whatever windows operating > systems also support. I know the performance is going to be great in LINUX. > > Can anyone tell me about a good solution in LINUX OR the exact steps and > IPTABLE commands OR links to documents, trying to achieve something > similar? > > > > Thanks, > Sagar > Network Administrator > CWL, Bangalore > sagaratcwlglobal.com-- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager"