Positioning fix for output
This commit is contained in:
		
							parent
							
								
									088d389a7a
								
							
						
					
					
						commit
						ab4ccedefd
					
				@ -149,7 +149,7 @@ fi
 | 
			
		||||
if [ "$BLOCK_OUTGOING_RFC1918" ]; then
 | 
			
		||||
	display_c YELLOW "Blocking RFC1918 space going out on: " N
 | 
			
		||||
		for i in $BLOCK_OUTGOING_RFC1918; do
 | 
			
		||||
			display_c BLUE "$i" N
 | 
			
		||||
			display_c BLUE "$i " N
 | 
			
		||||
			for x in $RFC1918_SPACE; do
 | 
			
		||||
				$IPTABLES -A OUTPUT -o $i -s $x -j DROP
 | 
			
		||||
				$IPTABLES -A FORWARD -o $i -s $x -j DROP
 | 
			
		||||
@ -162,7 +162,7 @@ fi
 | 
			
		||||
if [ "$BLOCK_INCOMING_RFC1918" ]; then
 | 
			
		||||
	display_c YELLOW "Blocking RFC1918 space coming in on: " N
 | 
			
		||||
		for i in $BLOCK_INCOMING_RFC1918; do
 | 
			
		||||
			display_c BLUE "$i" N
 | 
			
		||||
			display_c BLUE "$i " N
 | 
			
		||||
			for x in $RFC1918_SPACE; do
 | 
			
		||||
				$IPTABLES -A INPUT -i $i -s $x -j DROP
 | 
			
		||||
				$IPTABLES -A FORWARD -i $i -s $x -j DROP
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user