i have installed shorewall on linux machine. shorewall machine is having 2 lan cards on having public ip(18.104.22.168) and other having local lan ip(192.168.1.1). The input for public ip(22.214.171.124) is coming from cisco router having ip address(126.96.36.199). There is one more machine in local lan having nagius running on it and with ip 192.168.1.2.
Issues i am facing is to set which rule in shorewall so that shorewall only allow traffic from router (188.8.131.52)with port 511 can go to 192.168.1.2.
but i want to make shure that that port should not be open for rest all.