Greetings, I have one question. Let say, that I have TP-LINK router. Computer with FreeBSD is connected to the router with cable (RJ45). There is also laptop which is using WiFi to connect to the internet. Normally (I mean connection without router) I'm using DHCP to get my IP address from my ISP. When I'm using router, I have three IP address. One visible on the network (IP from ISP) and two set in the router, e.g 192.168.1.10 for computer with FreeBSD and 192.168.1.11 for laptop. But that's obvious.
So, when I'm writing the PF rules, which (IP) should I use/filtering? That from my ISP or that, which is setting in router? Or I should use the address which is assigned to the network interface? Or always use address from my ISP (visible on the Internet)? No matter, if I'm using a router or not?
I noticed, that when I'm using router to internet connection, PF is blocking less packets when I check pfctl(8) utility. Otherwise, when I'm connected to the internet without using a router (with an assigned IP address from my ISP) it is different. PF is blocking much more packets. It is normal behaviour?
On the router there is firewall enabled with some options, like SYN Flood protection. Maybe router firewall filters now all network traffic?
So, when I'm writing the PF rules, which (IP) should I use/filtering? That from my ISP or that, which is setting in router? Or I should use the address which is assigned to the network interface? Or always use address from my ISP (visible on the Internet)? No matter, if I'm using a router or not?
I noticed, that when I'm using router to internet connection, PF is blocking less packets when I check pfctl(8) utility. Otherwise, when I'm connected to the internet without using a router (with an assigned IP address from my ISP) it is different. PF is blocking much more packets. It is normal behaviour?
On the router there is firewall enabled with some options, like SYN Flood protection. Maybe router firewall filters now all network traffic?