Results 1 to 2 of 2

Thread: iptables rules CLI not updating in webmin

  1. #1
    Join Date
    Feb 2006
    Beans
    67

    iptables rules CLI not updating in webmin

    i am trying to use webmin to configure my iptables however sometimes i type commands in via the CLI.

    Well when i do that in webmin it doesnt update.

    its as if things are not synchronized ... why is this and how do i save commands entered in via CLI then update them to show in webmin?

  2. #2
    Join Date
    Nov 2008
    Location
    Boykin, SC
    Beans
    159
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: iptables rules CLI not updating in webmin

    Updating the IP tables via CLI are temporary, aren't they? To make permanent changes, don't you have to vi or nano into /etc to set/save variables (hence the need/usefulness of Webmin to begin with)? Here's what's got me thinking that:

    IP Addressing
    The following section describes the process of configuring your systems IP address and default gateway needed for communicating on a local area network and the Internet.

    Temporary IP Address Assignment

    For temporary network configurations, you can use standard commands such as ip, ifconfig and route, which are also found on most other GNU/Linux operating systems. These commands allow you to configure settings which take effect immediately, however they are not persistent and will be lost after a reboot.

    To temporarily configure an IP address, you can use the ifconfig command in the following manner. Just modify the IP address and subnet mask to match your network requirements.
    Code:
    sudo ifconfig eth0 10.0.0.100 netmask 255.255.255.0
    HTML Code:
    https://help.ubuntu.com/12.10/serverguide/network-configuration.html
    Hope that helps. ~dsf
    Toshiba Satellite L45-S4687
    1GB RAM 80GB HDD
    DVD-RW 2GB Flash

Bookmarks

Posting Permissions

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