feat: allow ingress traffic on port 9002 for email service in security group
This commit is contained in:
parent
98f6568d13
commit
c351c6acdd
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ export class AwsCdkStack extends cdk.Stack {
|
|||
securityGroup.addIngressRule(ec2.Peer.ipv4('16.113.57.0/24'), ec2.Port.tcp(80), 'Allow HTTP');
|
||||
securityGroup.addIngressRule(ec2.Peer.ipv4('16.113.57.0/24'), ec2.Port.tcp(443), 'Allow HTTPS');
|
||||
|
||||
// Email Service
|
||||
securityGroup.addIngressRule(ec2.Peer.ipv4('16.113.57.0/24'), ec2.Port.tcp(9002), 'Allow Email Service');
|
||||
|
||||
// WireGuard VPN
|
||||
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.udp(5010), 'Allow WireGuard VPN');
|
||||
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(51821), 'Allow WireGuard Web UI');
|
||||
|
|
|
|||
Loading…
Reference in a new issue