Forward port 80 to mail servers for the http acme challange
This commit is contained in:
		
					parent
					
						
							
								6c6cfb6da8
							
						
					
				
			
			
				commit
				
					
						cae1284094
					
				
			
		
					 2 changed files with 14 additions and 2 deletions
				
			
		| 
						 | 
					@ -45,11 +45,18 @@
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      internalInterfaces = [ "wg0" ];
 | 
					      internalInterfaces = [ "wg0" ];
 | 
				
			||||||
      externalInterface = "ens6";
 | 
					      externalInterface = "ens6";
 | 
				
			||||||
      forwardPorts = [{
 | 
					      forwardPorts = [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
          destination = "172.18.50.2:25";
 | 
					          destination = "172.18.50.2:25";
 | 
				
			||||||
          proto = "tcp";
 | 
					          proto = "tcp";
 | 
				
			||||||
          sourcePort = 25;
 | 
					          sourcePort = 25;
 | 
				
			||||||
      }];
 | 
					        }
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          destination = "172.18.50.2:80";
 | 
				
			||||||
 | 
					          proto = "tcp";
 | 
				
			||||||
 | 
					          sourcePort = 80;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -80,6 +80,11 @@
 | 
				
			||||||
          proto = "tcp";
 | 
					          proto = "tcp";
 | 
				
			||||||
          sourcePort = 25;
 | 
					          sourcePort = 25;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          destination = "172.18.50.2:80";
 | 
				
			||||||
 | 
					          proto = "tcp";
 | 
				
			||||||
 | 
					          sourcePort = 80;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          destination = "172.18.50.2:465";
 | 
					          destination = "172.18.50.2:465";
 | 
				
			||||||
          proto = "tcp";
 | 
					          proto = "tcp";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue