I recently added an AllowHost entry on one of the services running on SME server.
Now I need to remove that entry to it will allow all traffic on that port/service again.
Is there a way to "delete" part of the config with a template?
I found this on the WIKI page (
http://wiki.contribs.org/Firewall)
To remove a specific entry but leave other existing entries unchanged
config setprop squid BypassProxyFrom $(config getprop squid BypassProxyFrom | sed -e 's/entry-to-be-removed//' -e 's/^,//' -e 's/,$//' -e 's/,,//')
where entry-to-be-removed is the IP to be removed I dont' fully understand it so I'm reluctant to use it.
Thanks in advance