prevent denial of service redirect to another machine
i have 2 pc like this:
pc1 192.168.0.1 port:80
pc2 192.168.0.2 port:80
I want when the user wants to access the web server, it will be displayed on the web server ip 192.168.0.1. But when anyone try to like as denial of service, it will be in direct to the ip 192.168.0.2.
So, how it configuration iptable in pc1(192.168.0.1)?
Thank you for your answer