viernes, 24 de julio de 2020

Router and Gateway on NetBSD 9 with PF firewall

Hi friends! I'm going to show you a short tutorial about how to do Router and Gateway on NetBSD.

Remember your interfaces, here I have three interfaces
wm0, wm1 and wm2

IPv4 to each interface:
wm0=192.168.1.10/24
wm1=192.168.2.10/24
wm2=192.168.3.10/24

Enabling NAT:
Software to use is PF

See our interfaces and NAT options in /etc/pf.conf


Also /etc/sysctl.conf file



See /etc/rc.conf file to enable PF firewall


When it was configured you will need to reboot your system, e.g.
#reboot

After you try to see the client Windows or another.



Video:




Thanks for watching.

No hay comentarios.:

Publicar un comentario

Extensiones php en FreeBSD 14 para PhpSysinfo, PhpMyAdmin y Simple Machines Forum

 En FreeBSD 14 ocurre algo especial, por defecto no se activa las extensiones PHP para los softwares como PhpSysinfo, PhpMyAdmin ySimple mac...