Jump to content

Recommended Posts

Posted

Slightly random one,

I need to allow access to a hostname which is a DDNS host, therefore the IP changes. Is it possible to add firewall rules based on the host rather than an ever changing IP?

Posted

Unfortunately not, but usually you can instead enter an IP range that their ISP uses.

Of course it depends on what you are going to open and for what if it is a good solution.

  • Thanks 1
Posted
When creating your rule can you not specify the hostname rather than IP address? That way when hitting the policy it will look up the IP then, not familiar with Smoothwall but others such as Watchguard and pfSense both allow this.
Posted

You absolutely can fqdn in iptables, can do a hacky bit of scripting for ufw also but I'm janky.

 

I wouldn't say it's ideal though, and I imagine it won't work as expected for the majority. I've never found it great in iptables. Ufw however and a quick script to resolve and update the fw is easy.

Posted

So when creating a rule you have to specify an IP rather than FQDN when adding it, that seems a bit backwards. When I am working on firewalls I do everything via FQDN, very rare to list an IP unless its a range.

 

If I was you and as a Smoothwall user I'd be putting in a feature request to make your life easier!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...