David A Lewis Posted February 15, 2017 Share Posted February 15, 2017 Hi All, I am hoping someone is able to assist me in what I am sure is a beginner question. I have configured my pineapple nano to work with my openvpn server and to route all connected pineapple traffic via the VPN (thanks to the Hak5 video). I have created a script (1.sh) that contain the following: iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o tun0 -j MASQUERADEiptables -A FORWARD -s 172.16.42.0/24 -o tun0 -j ACCEPTiptables -A FORWARD -d 172.16.42.0/24 -m state –state ESTABLISHED,RELATED -i tun0 -j ACCEPT This works fine. Is there a way that I can get 1.sh to run on boot up? Thanks David Quote Link to comment Share on other sites More sharing options...
David A Lewis Posted February 15, 2017 Author Share Posted February 15, 2017 Sorry - posted in wrong area and not sure how to remove message. Please ignore.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.