12
submitted 1 year ago by Presi300@lemmy.world to c/linux@lemmy.world

I've been trying to setup pivpn on alpine, but it keeps complaining about some iptables rules not being set, requiring me to run pivpn -d each time the system is started to fix it...

top 3 comments
sorted by: hot top controversial new old
[-] nbailey@lemmy.ca 6 points 1 year ago

iptables-save > /etc/iptables/rules.v4

Or install iptables-persistent if you’re on a Debian-derivative system.

https://linux.die.net/man/8/iptables-save

[-] AlpacaChariot@lemmy.world 6 points 1 year ago

Maybe iptables-persistent would work for you?

Or if you use something like UFW you can add whatever iptables rules you like to /etc/ufw/after.rules.

[-] gataloca@lemmy.world 1 points 1 year ago

Set up a systemd service.

this post was submitted on 16 Dec 2023
12 points (92.9% liked)

Linux

8319 readers
123 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS