PacketFilter sous OpenBSD
This commit is contained in:
parent
e01cdb8273
commit
e6d21e2697
|
@ -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 :
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue