SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have successfully used slackware to be a gateway to the Internet for all my home computers.
I am using webmin to set up the masquerading/forwarding function.
My question is:
How do I do this without installing Webmin.
I want the machine to be a gateway but don't want to rely on a gui interface to set up the gateway.--I don't want to install X Window on the machine at all because of security and cpu reasons.
In other words, what is the magic config file that Webmin sets up to make all this happen.
Can I find this file copy it and reinstall my system without X Window and still use the machine as a gateway to the Internet?
I sort of understand how RedHat does this but always used RedHat's gui's before.
Bottom line: I want a command line only router to the internet.
I don't use webmin for my "headless" server/gateway.
And all you need to do is a
and two adapters set-up in
(given that you have a ethernet
connection to the internet otherwise
you have to set-up pppd, too, which
isn't that hard.)
Originally posted by jeempc
I am using Webmin as the firewall front end I guess. It has an option for masquerading which is what I want. I probably only need a good firewall script that does masquerading.
Does anyone have such a script?
It's a safe bet to assume that Webmin has
created one for you ... I wouldn't know where
it put it, though. Have a
grep -r iptables /etc/*
Hello all. I found the perfect solution. I did a new install of slack without X window and used rc.firewall for the internet gateway.
There is a rc.firewall install script that sets it all up.