How to block certain protocols with ipset?

Published: 5/10/2017
How to block certain protocols with ipset?
Source: UNIX.STACKEXCHANGE.COM

The thing is, I currently have 3 virtual test machines, Client1 , ip 192.168.1.10 , Client2 , ip 192.168.2.20 and Router with ip 192.168.1.1 and 192.168.2.1 as gateway to connect Client1 and Client2. On Router , I have hash:ip,port set, for example: ipset add myset 192.168.2.20,tcp:80 ipset add myset 192.168.2.20,tcp:443 On Client2 I have nginx setup to listen on port 80, and I don't want Client1

Read more
Related news
Comment