i have installed shorewall on linux machine. shorewall machine is having 2 lan cards on having public ip(220.127.116.11) and other having local lan ip(192.168.1.1). The input for public ip(18.104.22.168) is coming from cisco router having ip address(22.214.171.124). 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 (126.96.36.199)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.