PacketFilter sous OpenBSD

This commit is contained in:
jdubois 2022-02-03 18:39:15 +01:00
parent e01cdb8273
commit e6d21e2697

View file

@ -200,6 +200,19 @@ cipher AES-256-GCM # AES
management 127.0.0.1 1195 /etc/openvpn/management-pwd
~~~
On autorise la connexion au serveur VPN en modifier `/etc/pf.conf` :
~~~
# OpenVPN
pass in quick on $ext_if proto udp from any to self port 1194
~~~
Puis on recharge PacketFilter :
~~~
# pfctl -nf /etc/pf.conf && pfctl -f /etc/pf.conf
~~~
Pour activer OpenVPN au démarrage :
~~~