[rock-linux] Proposal for ROCKNET
|This message is part of the following thread:|
|the complete thread tree sorted by date|
|Sebastian Jaenicke at|
auto eth0 eth1 forward
interface eth0 ip 192.168.1.1/24 ip 192.168.2.1/24
interface eth1 ip 192.168.100.99/24 gw 192.168.100.1
interface eth0 dhcp script dyndns.sh # update dyndns allow ip 10.10.0.0/24 # office allow ip 192.168.0.0/24 # home allow tcp 80 # webserver is open deny all
auto eth0 eth1(office)
interface eth0(home) ip 192.168.69.15/24
interface eth0(office) allow ip 10.10.0.0/16 tcp ssh deny all dhcp
interface eth0 deny all dhcp
interface eth1 deny all dhcp
Lists those interfaces which should be set up automatically at boot up (list evaluated from left to right) and shut down on system shutdown (from right to left). All interfaces not listed here must be set up or shut down manually using 'ifup' and 'ifdown'. Must be used before the first 'interface' directive.
If used, forwarding between interfaces will be activated at boot up and the host may be used as gateway between two networks. Must be used before the first 'interface' directive.
Everything after that statement and before the next interface statement is the configuration for that specific interface. All directives within an interface section are executed from the first to the last when setting up the interface and the reversed order when shutting it down.
Configure the interface using the DHCP protocol.
Execute the specified script with the given parameters. The parameter "up" is inserted as first parameter when the interface is set up and the parameter "down" is inserted when the interface is shut down.
Set the given ip(s) and gateway when the interface is set up, remove all IPs from the interface when the interface is shut down.
Add the given simple firewalling rules. Those statements are executed before the other statements in the interface section when setting up the interface and are executed after the other statements when shutting down the interface. See section "Simple Firewall" below for details.
-- | Clifford Wolf /-----=[ www.clifford.at ]==[ Tel: +43-699-10063494 ]=-\ |--------------/ diestartseite.at vocat.cc =[ Fax: +43-2235-42788-4 ]=-| |-=[ EDEN Creations -- www.edenevents.at ]==[ IRC: www.freenode.net ]=-| \==[ www.rocklinux.org ]===[ www.rocklinux.net ]===[ www.linbit.com ]==/
-- To unsubscribe from this list: send a mail with the subject "unsubscribe rock-linux" to <email@example.com>. For more information about ROCK Linux have a look at <http://www.rocklinux.org/>.
|This message was posted to the following mailing lists:|
|ROCK Development Mailing List|
Mailing List Info | Nearby Messages
|[rock-linux] [PATCH] xjdic and wrong desc_D behaviour(?)||Re: [rock-linux] RLForum.org ~ ROCK Linux discussion forum|
|Lurker (version1.1)||Administrated by:Clifford Wolf|