# Edit the wg0.conf file

**URL:** <https://forum.pritunl.com/t/edit-the-wg0-conf-file/192>\
**Category:** Pritunl VPN\
**Tags:** pritunl\
**Created:** [June 13, 2022, 1:22pm UTC](https://forum.pritunl.com/t/edit-the-wg0-conf-file/192 "2022-06-13T13:22:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wnein](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/w/90db22/32.png) [@wnein](https://forum.pritunl.com/u/wnein)\
**Post date:** [June 13, 2022, 1:22pm UTC](https://forum.pritunl.com/t/edit-the-wg0-conf-file/192/1 "2022-06-13T13:22:52Z")

</div>

Hello,

Anyone know where the wireguard conf file is? I cannot find it at /etc/wireguad/

Thank you all!

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [June 14, 2022, 2:35am UTC](https://forum.pritunl.com/t/edit-the-wg0-conf-file/192/2 "2022-06-14T02:35:17Z")

</div>

On the Linux client the file is stored in `/etc/wireguard`, the server does not use a configuration file. The [**WireGuard authentication and connection management**](https://docs.pritunl.com/docs/wireguard#authentication) in Pritunl does not support any other WireGuard clients.

---

<div class="post-metadata">

**Author:** ![wnein](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/w/90db22/32.png) [@wnein](https://forum.pritunl.com/u/wnein)\
**Post date:** [June 14, 2022, 1:10pm UTC](https://forum.pritunl.com/t/edit-the-wg0-conf-file/192/3 "2022-06-14T13:10:18Z")

</div>

Thank you for the reply. Quick as always!

I am seeing that when I do ‘wg show’ there is an interface wg3 that I thought was pritunl. I didn’t create a wireguard config myself.

What I am trying to do it something along the lines of:

PostUp = iptables -A FORWARD -i wg3 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE  
PostDown = iptables -D FORWARD -i wg3 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

Thank you!

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [June 14, 2022, 9:41pm UTC](https://forum.pritunl.com/t/edit-the-wg0-conf-file/192/4 "2022-06-14T21:41:58Z")

</div>

The `server_start` and `server_stop` [**plugin handlers**](https://docs.pritunl.com/docs/plugins) will include the interface name for the server which can be used to modify iptables.
