Results 1 to 5 of 5

Thread: How to save iptables?

  1. #1

    [SOLVED] How to save iptables?

    Hi.

    I've got newest firmware from http://code.google.com/p/wl500g installed correctly by wengi's tutorial.

    How can I save my iptables?

    Bcs. anytime I reboot, iptables go into default state (default rules).

    Thanks.
    Last edited by Blackbirdrozd; 25-03-2011 at 14:21.

  2. #2
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by Blackbirdrozd View Post
    Hi.

    I've got newest firmware from http://code.google.com/p/wl500g installed correctly by wengi's tutorial.

    How can I save my iptables?

    Bcs. anytime I reboot, iptables go into default state (default rules).

    Thanks.
    Well there is a file called "/usr/local/sbin/post-firewall"
    You can enter your ip-tables here

    then save the file and save the flashfs with these commands:
    flashfs save && flashfs commit && flashfs enable
    Sounds familiar?

  3. #3
    Yeah,
    that was first thing I've done.

    But it's not working.

    Thanks.

  4. #4
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259
    Quote Originally Posted by Blackbirdrozd View Post
    Yeah,
    that was first thing I've done.

    But it's not working.

    Thanks.
    you did not forget "#!/bin/sh" right?
    twitter

  5. #5
    Quote Originally Posted by Tamadite View Post
    you did not forget "#!/bin/sh" right?
    Ok. Right now, I feel like an idiot.

    Solved.

    Thanks.

Similar Threads

  1. Шейпер с приоретизацией по портам
    By indlg0 in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 65
    Last Post: 18-01-2010, 11:35
  2. Replies: 4
    Last Post: 05-09-2009, 00:07
  3. wl-700ge + kamikaze/x-wrt: wie ports fьr emule/bittorrent freigeben
    By nice in forum German Discussion - Deutsch (DE)
    Replies: 2
    Last Post: 31-05-2009, 12:24
  4. MSN blocking
    By sonice in forum WL-500gP Q&A
    Replies: 5
    Last Post: 16-01-2009, 17:37
  5. WL-500gx WAN & LAN Filter example
    By pshah in forum WL-500g Q&A
    Replies: 1
    Last Post: 24-09-2005, 13:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •