Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a RH 6.2 linux box that serves as a gateway to the internet for my LAN. I currently use IP MASQ'ing (via ipchains) to have my network connect to the internet and serve as a firewall but now I am running into troubles with all the new protocols out there (such as PPTP).
Without really going into the details of the above, I have a question. Does anyone know if I can set up my box to act as a router but still use ipchains as my firewall, without it doing any masq'ing? If so, how? (I am using 2.2.17-5.0 the stock out of the box RH 6.2 kernel.)
The Linux box will use RIP, routing information protocol to do this, then forward any packets to the net hop in it's FIB table. "i.e static routes set-up by you"
Ipchains must not do the MASQ option just normal rules.
Wazzas right you'll need a real IP.
Well, if I have to use private ip on my internal network, I am going to have to ask another question. My original problem is that I cannot get VPN from a WinME client behind my firewall to a WinNT vpn server outside my firewall working. Everywhere I go says to use the ip_masq_pptp module which I cannot find. Does anyone know if it is included with 2.2.* kernels higher than 2.2.17??? (Just so I can upgrade my kernel and not patch my current one.)
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
PPTP and Linux gateway
The best way to get this to work is to use Kernel 2.4 which comes with support for forwarding VPN connections. I tried several different ways to get it to work with the 2.2 kernel but the only way I was able to get results was compiling and using a 2.4 kernel.
If you can remember, was there anything in specific that that you had to compile to make your vpn connection work (besides the obvious things to get masq'ing working)? Are you using iptables or ipchains?
I was trying to use ipchains to maintain my current firewall but I found out that I needed to compile pptp into the kernel for it. Either way, I was able to get a iptables firewall with vpn support working before I was able to get the ipchains working. So I kept it...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.