| To: | <netfilter@lists.netfilter.org> |
|---|---|
| Subject: | RE: iptables doesn't keep chain list after reboot |
| From: | Paul Blondé <jpb@entel.ca> |
| Date: | Tue, 22 May 2007 08:46:04 -0700 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | netfilter-list1@securepoint.com |
| Importance: | Normal |
| In-reply-to: | <b6d73fa90705211212g3cd8464lf48e380a9256a79d@mail.gmail.com> |
| List-archive: | </pipermail/netfilter> |
| List-help: | <mailto:netfilter-request@lists.netfilter.org?subject=help> |
| List-id: | General discussion and user questions <netfilter.lists.netfilter.org> |
| List-post: | <mailto:netfilter@lists.netfilter.org> |
| List-subscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe> |
| List-unsubscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe> |
| Organization: | enTel Communications Inc |
| Reply-to: | jpb@entel.ca |
| Sender: | netfilter-bounces@lists.netfilter.org |
I recommend you read the site iptablesrocks.org very carefully while you are making changes to your iptables firewall, as you can easily lock yourself out of your own computer with netfilter. If you had, as I suggested before, you would have found these instructions: (assuming you made a file called primary_firewall in the home directory of the root user, as the instructions on the site indicate) copy the firewall file somewhere usefull: cp /root/primary_firewall /etc/sysconfig/iptables edit /etc/rc.local with your favourite text editor: emacs /etc/rc.local (or vi, vim, xemacs, whatever) add the following line: /sbin/insmod ip_conntrack_ftp I had to use a different method because the server I "inherited" from the person who set it up was really messed up, but it should work on your average Linux box. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul Blondé Web Programmer enTel Communications Inc jpb@entel.ca 250.633.5151 866.633.2644 > -----Original Message----- > From: netfilter-bounces@lists.netfilter.org > [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of TheNokia > Sent: Monday, May 21, 2007 12:12 PM > To: netfilter@lists.netfilter.org > Subject: iptables doesn't keep chain list after reboot > > > Ok, both of you tell me to put in /etc/rc.local but can you > give me an example ? > > I don't want to do something wrong. > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Bridge Transparent Proxy, Robert LeBlanc |
|---|---|
| Next by Date: | Re: Bridge Transparent Proxy, Pascal Hambourg |
| Previous by Thread: | iptables doesn't keep chain list after reboot, TheNokia |
| Next by Thread: | connection refused trying to bind AF_INET to AF_NETLINK/NETFILTER socket, Sussman, Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |