I screwed up and hope someone can help me. I didn't make backup copies of my openvpn-startup and openvpn-shutdown files before editing them, now they are so screwed up from my tinkering that I have no idea how to right the ship. Can someone point me where to find the originals or send me copies of them?
I appreciate the help!
Messed up, need original files for startup/shutdown
-
- Posts: 19
- Joined: Sun Jun 05, 2011 6:46 am
Re: Messed up, need original files for startup/shutdown
I don't have an openvpn-shutdown file, but here is my /openvpn-startup file. ymmv, of course.I screwed up and hope someone can help me. I didn't make backup copies of my openvpn-startup and openvpn-shutdown files before editing them, now they are so screwed up from my tinkering that I have no idea how to right the ship. Can someone point me where to find the originals or send me copies of them?I appreciate the help!
Code: Select all
#!/bin/sh
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
-
- Posts: 19
- Joined: Sun Jun 05, 2011 6:46 am
Re: Messed up, need original files for startup/shutdown
Awesome, Thank you! I had it so messed up I couldn't recognize it any more. I appreciate the help!!!
Who is online
Users browsing this forum: No registered users and 17 guests