Why not let it check for the exact address connected and just allow that one instead of the whole wide subnet?
Just seemed simpler to leave the whole subnet in (don't see a downside for it). For rule 1006, you have to, unless you want two rules.
Why not let it check for the exact address connected and just allow that one instead of the whole wide subnet?
I'm using the script I posted in #123 with PIA.these rules are over my head i have tried various but this pia keeps changing its ip address.
as it uses a server.
now is there a way to write a script to start openvpn then do say a
wget http://smart-ip.net/myip -O - -q ; echo
copy this value which is the ip address of openvpn
then it creates rule for ipfw_rules
then once saved start ipfw service
and for this to start at startup or boot.
i would love to write a script like this maybe i could but it will take time and copy and pasting other scripts...
maybe someone can give me a basis on how to create the start service then runs the above command copies the ip address that pia gives and can use it as a reference point
then i can add all the rules. into the script.
Denis
Yeah I tried it but the first 3 lines says can't find
Import Sys sub process and socket so script stops how did u get it to run also how did u setup to run from boot
Sent from my iPhone using Tapatalk
#!/usr/local/bin/python2.7
its not writng the ipfw_rules file either
is there an error log for python once run.
The sabnzbd is in the root directory of transmission jail I created that there.
It reads the rule files no problems but it's not writing the file?
I'll try writing it under etc like you did and see if there is any changes
But when I run the script it does not say anything it waits the the cursor comes back like it has completed it.
Sent from my iPhone using Tapatalk