| 
				
			 | 
			
			
				@@ -131,16 +131,30 @@ function configure_internet_protocol { 
			 | 
		
	
		
			
			| 
				131
			 | 
			
				131
			 | 
			
			
				     if [[ $SYSTEM_TYPE == "mesh"* ]]; then 
			 | 
		
	
		
			
			| 
				132
			 | 
			
				132
			 | 
			
			
				         return 
			 | 
		
	
		
			
			| 
				133
			 | 
			
				133
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				134
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.tcp_syncookies=1/net.ipv4.tcp_syncookies=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				135
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.conf.all.accept_redirects = 0/net.ipv4.conf.all.accept_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				136
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv6.conf.all.accept_redirects = 0/net.ipv6.conf.all.accept_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				137
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.conf.all.send_redirects = 0/net.ipv4.conf.all.send_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.conf.all.accept_source_route = 0/net.ipv4.conf.all.accept_source_route = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				139
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv6.conf.all.accept_source_route = 0/net.ipv6.conf.all.accept_source_route = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				140
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.conf.default.rp_filter=1/net.ipv4.conf.default.rp_filter=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				141
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.conf.all.rp_filter=1/net.ipv4.conf.all.rp_filter=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				142
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				143
			 | 
			
				
			 | 
			
			
				-    sed -i "s/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				134
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				135
			 | 
			
			
				+    sed -i "s/#net.ipv4.tcp_syncookies.*/net.ipv4.tcp_syncookies=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				136
			 | 
			
			
				+    sed -i "s/#net.ipv4.conf.all.accept_redirects.*/net.ipv4.conf.all.accept_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				137
			 | 
			
			
				+    sed -i "s/#net.ipv6.conf.all.accept_redirects.*/net.ipv6.conf.all.accept_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				138
			 | 
			
			
				+    sed -i "s/#net.ipv4.conf.all.send_redirects.*/net.ipv4.conf.all.send_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				139
			 | 
			
			
				+    sed -i "s/#net.ipv4.conf.all.accept_source_route.*/net.ipv4.conf.all.accept_source_route = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				140
			 | 
			
			
				+    sed -i "s/#net.ipv6.conf.all.accept_source_route.*/net.ipv6.conf.all.accept_source_route = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				141
			 | 
			
			
				+    sed -i "s/#net.ipv4.conf.default.rp_filter.*/net.ipv4.conf.default.rp_filter=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				142
			 | 
			
			
				+    sed -i "s/#net.ipv4.conf.all.rp_filter.*/net.ipv4.conf.all.rp_filter=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				143
			 | 
			
			
				+    sed -i "s/#net.ipv4.ip_forward.*/net.ipv4.ip_forward=0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				144
			 | 
			
			
				+    sed -i "s/#net.ipv6.conf.all.forwarding.*/net.ipv6.conf.all.forwarding=0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				145
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				146
			 | 
			
			
				+    sed -i "s/# net.ipv4.tcp_syncookies.*/net.ipv4.tcp_syncookies=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				147
			 | 
			
			
				+    sed -i "s/# net.ipv4.conf.all.accept_redirects.*/net.ipv4.conf.all.accept_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				148
			 | 
			
			
				+    sed -i "s/# net.ipv6.conf.all.accept_redirects.*/net.ipv6.conf.all.accept_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				149
			 | 
			
			
				+    sed -i "s/# net.ipv4.conf.all.send_redirects.*/net.ipv4.conf.all.send_redirects = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				150
			 | 
			
			
				+    sed -i "s/# net.ipv4.conf.all.accept_source_route.*/net.ipv4.conf.all.accept_source_route = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				151
			 | 
			
			
				+    sed -i "s/# net.ipv6.conf.all.accept_source_route.*/net.ipv6.conf.all.accept_source_route = 0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				152
			 | 
			
			
				+    sed -i "s/# net.ipv4.conf.default.rp_filter.*/net.ipv4.conf.default.rp_filter=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				153
			 | 
			
			
				+    sed -i "s/# net.ipv4.conf.all.rp_filter.*/net.ipv4.conf.all.rp_filter=1/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				154
			 | 
			
			
				+    sed -i "s/# net.ipv4.ip_forward.*/net.ipv4.ip_forward=0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				155
			 | 
			
			
				+    sed -i "s/# net.ipv6.conf.all.forwarding.*/net.ipv6.conf.all.forwarding=0/g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				156
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				157
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				144
			 | 
			
				158
			 | 
			
			
				     if ! grep -q "ignore pings" /etc/sysctl.conf; then 
			 | 
		
	
		
			
			| 
				145
			 | 
			
				159
			 | 
			
			
				         echo '# ignore pings' >> /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				146
			 | 
			
				160
			 | 
			
			
				         echo 'net.ipv4.icmp_echo_ignore_all = 1' >> /etc/sysctl.conf 
			 |