Hi,
I use iptables to block certain worstations on a network from accessing the Internet. I want these workstations to access a specific domain like
Exemple:
Thanks
Alain Chagnon
Hi,
I use iptables to block certain worstations on a network from accessing the Internet. I want these workstations to access a specific domain like
Exemple:
Thanks
Alain Chagnon
No. Iptables resolves DNS names when being fed with the rules and doesn't update them.
What you want is an application layer firewall, f.e. a HTTP Proxy
Hello Alain,
You have to get all IP addresses and put them in iptables. iptables resolves host names at "compile" time.
Dig is your friend to find out what IP addresses to add;
dig
Have something to add? Share your thoughts — no account required.
Ask the community — no account required