Openvpn

1. openvpn.conf ๋‹ค์šด๋กœ๋“œ rsyslog ์‚ฌ์šฉ

curl https://repo.plura.io/v5/module/rsyslog/80-openvpn.conf -o /etc/rsyslog.d/80-openvpn.conf

2. 80-openvpn.conf ์ˆ˜์ •

  • ๋กœ๊ทธ ์œ„์น˜ ํ™•์ธ

vi /etc/openvpn/server/server.conf
log /var/log/openvpn.log
log-append /var/log/openvpn.log

vi /etc/rsyslog.d/80-openvpn.conf

3. openvpn server conf ์ˆ˜์ •

  • logging ๋ ˆ๋ฒจ ํ™•์ธ

vi /etc/openvpn/server/server.conf

verb 4

4. rsyslog ๋ฐ๋ชฌ ์žฌ ์‹œ์ž‘

service rsyslog restart

5. ๋กœ๊ทธ ํ™•์ธ

https://docs.plura.io/ko/fn/comm/filter/syslog

Last updated