My network address is 192.168.5.0. My host machine is 192.168.5.1 and my client machine is 192.168.5.2. How will I enable my client to ping the internet through the terminal but restrict it from accesing port 80 or the browser? Below is my /etc/shorewall/policy file :
SOURCE DEST POLICY LOGLEVEL RATE CONNLIMIT
loc net ACCEPT
net all DROP info
/etc/shorewall/rules file:
DROP loc fw tcp 80
/etc/shorewall/interfaces file :
net eth0
loc eth1
Host Interfaces:
eth0 - Connection to the internet
eth1 - Local Network Connection