I am going to migrate my router from FreeBSD to CentOS. Now I am using PF (Packet Filter) as a firewall on FreeBSD, also an OpenVPN server is configured on my router, and with the help of the PF, I allow certain users to access certain servers. To do this, I have a line in the PF rules:
Code: Select all
pass in on tun0 from { 10.1.0.23 10.1.0.45 10.1.0.76 10.1.0.92 } to { 10.1.1.51 10.1.1.52 10.1.1.57 10.1.1.68 10.1.1.35 }