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

VirtualBox 6.1 en Bodhi Linux (Ubuntu 22.04 LTS)

 ¡Hola chicos! En esta entrada escribimos los pasos que he seguido para tener Virtualbox funcionando en Bodhi Linux, también agregamos nuest...