Ubuntu 16.04 Full Stack Configuration (with Bonding Config): Difference between revisions
Appearance
	
	
Content deleted Content added
| No edit summary |  clean up, typos fixed: ie.  → i.e. , controled → controlled, eg: → e.g.: | ||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| <indicator name="Front">[[File:Menu-bonding.svg|link=:Category:Bonding|30px|Back up to the Bonding Page]]</indicator> | |||
| [[Category:Routers]] | [[Category:Routers]] | ||
| [[Category:Bonding Configuration]] | |||
| [[Category:3rd Party Routers]] | [[Category:3rd Party Routers]] | ||
| = Preface = | = Preface = | ||
| Line 80: | Line 83: | ||
|  linkname aa_wan1 |  linkname aa_wan1 | ||
| Note the additional “unit” and “linkname” instructions from the linked guide, “unit” is in the index of the ppp connection created ( | Note the additional “unit” and “linkname” instructions from the linked guide, “unit” is in the index of the ppp connection created (i.e. unit = 0  creates ppp0). | ||
| === /etc/ppp/chap-secrets === | === /etc/ppp/chap-secrets === | ||
| Line 306: | Line 309: | ||
|  iptables -t nat -A POSTROUTING -o DEV_AA_WAN2_C -m comment --comment NAT -j MASQUERADE |  iptables -t nat -A POSTROUTING -o DEV_AA_WAN2_C -m comment --comment NAT -j MASQUERADE | ||
|  # Default drop everything from outside |  # Default drop everything from outside  | ||
|  # Note that these drops are *important* because we don't reject any traffic in the rules themselves, without these, stuff will be wide open | |||
|  iptables -P FORWARD DROP |  iptables -P FORWARD DROP | ||
|  iptables -P INPUT DROP |  iptables -P INPUT DROP | ||
| Line 583: | Line 587: | ||
|  START_DAEMON=1 |  START_DAEMON=1 | ||
|  # Define here the external interface connected to the WAN ( |  # Define here the external interface connected to the WAN (e.g.: the public | ||
|  # IP address NIC) |  # IP address NIC) | ||
|  MiniUPnPd_EXTERNAL_INTERFACE="pppoe-AA_1" |  MiniUPnPd_EXTERNAL_INTERFACE="pppoe-AA_1" | ||
| Line 589: | Line 593: | ||
|  # IP that the daemon should listen on. |  # IP that the daemon should listen on. | ||
|  # Note that you do *not* want this to be 0.0.0.0, as you don't want |  # Note that you do *not* want this to be 0.0.0.0, as you don't want | ||
|  # your MiniUPnPd to be  |  # your MiniUPnPd to be controlled by anyone on the internet. | ||
|  MiniUPnPd_LISTENING_IP=”DEV_LAN” |  MiniUPnPd_LISTENING_IP=”DEV_LAN” | ||