Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=d9be9781df7369b9d8ae1d2696de42e993495ace
commit d9be9781df7369b9d8ae1d2696de42e993495ace Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Mon Oct 29 00:28:03 2007 +0100 netconfig manpage: add adsl example actually this is what i used till now. i no longer has adsl, so i added this example since i know it was working ;) diff --git a/netconfig/doc/netconfig.5 b/netconfig/doc/netconfig.5 index 5370487..d090e80 100644 --- a/netconfig/doc/netconfig.5 +++ b/netconfig/doc/netconfig.5 @@ -13,16 +13,28 @@ This profile is divided into sections or \fIinterfaces\fP. Each section defines an interface that netconfig should initialize. The exception to this is the \fIoptions\fP section, which defines global options. .TP -.SH Example: +.SH Example for static IP: .RS .nf [options] -dns = 157.181.177.34 +dns = 192.168.1.1 [eth0] options = 192.168.1.102 netmask 255.255.255.0 gateway = default gw 192.168.1.1 .fi +.TP +.SH Example for static ADSL with NAT: +.RS +.nf +[options] +adsl_username = [EMAIL PROTECTED] +adsl_password = secret +adsl_interface = eth1 +[eth1] +options = 192.168.1.102 netmask 255.255.255.0 +post_up = iptables -t nat -A POSTROUTING -j MASQUERADE +.fi .RE .SH CONFIG: OPTIONS .TP _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
