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

dynamically add a firewall rule #38

Closed splifter closed 6 years ago

splifter commented 6 years ago

The description of the repo says:

..., dynamically add a firewall rule.

Is this applying just for transmission? I hoped i could set easily a firewall rule to route incoming ssh connection via eth0, my "normal" public ip? If so, could you please explain how. I wasn't able to figure it out while reading the code.

Thank you!

pschmitt commented 6 years ago

The "dynamic firewall rule" refers to the -a and -d switches.