Probably good to exclude the right port from wireguard
This commit is contained in:
		
							parent
							
								
									1d2fe4b2db
								
							
						
					
					
						commit
						eab0373be8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -69,7 +69,7 @@
 | 
				
			||||||
              -m addrtype ! --dst-type LOCAL \
 | 
					              -m addrtype ! --dst-type LOCAL \
 | 
				
			||||||
              -j REJECT
 | 
					              -j REJECT
 | 
				
			||||||
            ${pkgs.iptables}/bin/iptables -I OUTPUT -o lo -p tcp \
 | 
					            ${pkgs.iptables}/bin/iptables -I OUTPUT -o lo -p tcp \
 | 
				
			||||||
              --dport 8112 -m state --state NEW,ESTABLISHED -j ACCEPT
 | 
					              --dport 6969 -m state --state NEW,ESTABLISHED -j ACCEPT
 | 
				
			||||||
            ${pkgs.iptables}/bin/iptables -I OUTPUT -s 192.168.100.10/24 -d 192.168.100.11/24 \
 | 
					            ${pkgs.iptables}/bin/iptables -I OUTPUT -s 192.168.100.10/24 -d 192.168.100.11/24 \
 | 
				
			||||||
              -j ACCEPT
 | 
					              -j ACCEPT
 | 
				
			||||||
          '';
 | 
					          '';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue