Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > Networking

    DHCP IP Firewall script

    Download button

    No screenshots available
    Downloads: 454  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Oskar Andreasson | More programs
    GPL / FREE
    February 13th, 2007, 16:15 GMT
    ROOT / System / Networking

     Read user reviews (0)  Refer to a friend  Subscribe

    DHCP IP Firewall script description

    DHCP IP Firewall script project is a script for Linux 2.4.x and iptables.

    DHCP IP Firewall script project is a script for Linux 2.4.x and iptables.

    Sample:

    1. Configuration options - use these to quicken up the set up.

    ####################################
    # Local Area Network configuration.
    #
    # your LAN's IP range and localhost IP. /24 means to only use the first 24 bits of the 32 bit IP adress. the same as netmask 255.255.255.0

    LAN_IP="192.168.0.2"
    LAN_IP_RANGE="192.168.0.0/16"
    LAN_BCAST_ADRESS="192.168.0.255"
    LAN_IFACE="eth1"

    ######################################
    #
    # Localhost configuration.
    #
    # Localhost Interface and IP. Should not need any changes.
    #

    LO_IFACE="lo"
    LO_IP="127.0.0.1"

    #######################################
    #
    # Internet configuration.
    #
    # All information pertaining to the Internet and the Internet connection.
    #

    INET_IFACE="eth0"

    #######################################
    #
    # DHCP Configuration.
    #
    # Information pertaining to DHCP over the Internet, if needed.
    #
    # Set DHCP variable to No if you don't get IP from DHCP. If you get DHCP over the Internet set this variable to Yes, and set up the proper IP adress for the DHCP server in the DHCP_SERVER variable.

    DHCP="No"
    DHCP_SERVER="195.22.90.65"

    #########################################
    #
    # PPPOE Configuration.
    #
    # Configuration options pertaining to PPPoE.
    #
    # If you have problem with your PPPoE connection, such as large mails not getting through while small mail get through properly etc, you may set this option to "yes" which may fix the problem. This option will set a rule in the PREROUTING chain of the mangle table which will clamp (resize) all routed packets to PMTU (Path Maximum Transmit Unit).
    #
    # Note that it is better to set this up in the PPPoE package itself, since the PPPoE configuration option will give less overhead.

    PPPOE_PMTU="No"

    ##########################################
    #
    # IPTABLES configuration.
    #
    # Options pertaining to iptables such as searchpath, etc.
    #

    IPTABLES="/usr/sbin/iptables"

    Product's homepage

      


    TAGS:

    DHCP firewall | IP firewall | iptables firewall | DHCP | IP | firewall

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM