Fresh install on AWS Debian 9.
When installing on AWS it'll be in your AWS Virtual Private Cloud by default, thus installing with an IP address of something like 172.30.0.10. So even though the instance will have a static IP address (Elastic IP with AWS), it's still NAT'ed. Following guidance from here and here, am able to get local and remote in and out to work fine and dandy with little fuss. Did not do anything (yet) with the SIP ALG or the removing of "-nonat". So far so good.
My question or curiousity, as I learn this system, is with the default installed Access Control lists. For lan, there is a default entry of:
allow CIDR: 192.168.42.42/32
What is that and where did it come from? Is it just something simple as changing it to my actual local IP of 172.30.10? Does it even need to be messed with at all as things seem to work so far? There will be zero actual local LAN connections since it's in a VPC at AWS.
For domains, there is a default entry of:
allow Domain: 172.30.0.10
I don't know what it means by "Domain" here. To me, domain means something like youtwitface.com, not an IP address. When the ACL is loaded, there will be a log such as:
2020-02-10 19:59:03.268041 [WARNING] switch_core.c:1627 Cannot locate domain 172.30.0.10
So what's going on here, and should I be concerned? How is this "Domain" column actually used, if at all?
Finally, is there a way to whitelist domain or DNS entries, or is it all IP based?
Thanks.
When installing on AWS it'll be in your AWS Virtual Private Cloud by default, thus installing with an IP address of something like 172.30.0.10. So even though the instance will have a static IP address (Elastic IP with AWS), it's still NAT'ed. Following guidance from here and here, am able to get local and remote in and out to work fine and dandy with little fuss. Did not do anything (yet) with the SIP ALG or the removing of "-nonat". So far so good.
My question or curiousity, as I learn this system, is with the default installed Access Control lists. For lan, there is a default entry of:
allow CIDR: 192.168.42.42/32
What is that and where did it come from? Is it just something simple as changing it to my actual local IP of 172.30.10? Does it even need to be messed with at all as things seem to work so far? There will be zero actual local LAN connections since it's in a VPC at AWS.
For domains, there is a default entry of:
allow Domain: 172.30.0.10
I don't know what it means by "Domain" here. To me, domain means something like youtwitface.com, not an IP address. When the ACL is loaded, there will be a log such as:
2020-02-10 19:59:03.268041 [WARNING] switch_core.c:1627 Cannot locate domain 172.30.0.10
So what's going on here, and should I be concerned? How is this "Domain" column actually used, if at all?
Finally, is there a way to whitelist domain or DNS entries, or is it all IP based?
Thanks.