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've been using shorewall since day one and have never seen it erase (change) the contents of any of its configuration files. Please consider posting a better description (even proof) of the problem you are having so that we can help.
well first i tryed opening the file (as root) then I did as above and it all fited perfectly so i saved the file, closed it then restarted the computer.
i then checked the file again and the line i entered was gone. vanished into the datastram of my computer!!
I then tryed webmin. I entered the rule hit apply then restarted to see if it would do the same thing and it did. gone again!!!!
Thank you for the clarification. The problem you describe sounds like you are editing a shorewall config file that is stored on a ram drive, not your hard drive. Are you possibly runing an embedded version of linux like leaf/bering and forgetting to backup any changes you make to the boot device? i.e. flash card, floppy, cdrom
Untill you figure out why your shorewall config file changes are not surviving through a system reboot, you can apply the changes you made to any of the shorewall config files without rebooting your system by simply typing:
thanx ill try that but i think its the shorewall restarting that erases it. i also have a gateway on there too that shares internet. if i try to turn off the shorewall it atomaticly turns gateway off, and vice-versa,.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.