pschmitt / pia-tools

Shell script to automate privateinternetaccess port forwarding and starting/stopping transmission when connected/disconnected and other stuff
https://aur.archlinux.org/packages/pia-tools
GNU General Public License v3.0
132 stars 23 forks source link

Add Firewall Rules for Both Wireless and Ethernet #8

Closed noctuid closed 9 years ago

noctuid commented 9 years ago

This is meant to adress #7 and replaces NET_DEV with NET_DEV_ETHERNET and NET_DEV_WIFI and adds/deletes firewall rules for both of them. I figure its best to do both instead of just the active one in case of switching (if I unplugged my ethernet cable, it would automatically switch to wifi and vice versa). I also added them to the man page.