Ubuntu 16.04 Full Stack Configuration (with Bonding Config): Difference between revisions
Appearance
	
	
Content deleted Content added
| No edit summary | |||
| Line 268: | Line 268: | ||
|  # Accept established connections from AAISP Line 2 (Bonding only) |  # Accept established connections from AAISP Line 2 (Bonding only) | ||
|  iptables -A INPUT -i pppoe-AA_2 -m state --state RELATED,ESTABLISHED -m comment --comment "Allow return traffic" -j ACCEPT |  iptables -A INPUT -i pppoe-AA_2 -m state --state RELATED,ESTABLISHED -m comment --comment "Allow return traffic" -j ACCEPT | ||
|  # Allow related traffic from AAISP Modem Stats 1 | |||
|  # Reject anything else (not really needed as we will change default policy to drop later) | |||
|  iptables -A INPUT - |  iptables -A INPUT -s 192.168.2.1/32 -i DEV_AA_WAN1_C -m state --state RELATED,ESTABLISHED -j ACCEPT | ||
|  # Allow related traffic from AAISP Modem Stats 2 (Bonding only) | |||
|  iptables -A INPUT -s 192.168.3.1/32 -i DEV_AA_WAN1_C -m state --state RELATED,ESTABLISHED -j ACCEPT | |||
|  # AAISP Line 1 MSS Clamping |  # AAISP Line 1 MSS Clamping | ||
|  iptables -A FORWARD -o pppoe-AA_1 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment -- |  iptables -A FORWARD -o pppoe-AA_1 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment -- | ||