Firehol, restrict server to accept only one ip

From Andreida
Revision as of 20:35, 23 November 2017 by Andreas (talk | contribs) (Created page with "If you want to setup certain services it is a bit safer if you don't allow anyone than yourself access to these services during the setup. Imagine someone takes over your Apac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you want to setup certain services it is a bit safer if you don't allow anyone than yourself access to these services during the setup. Imagine someone takes over your Apache setup process.

If you have a line like the following

server http accept

then you can restrict this server to one ip with the following:

server4 http accept src 185.4.153.23

The "4" after server indicates that we only accept ipv4.