adrelanos / vpn-firewall

Leak Protection (Fail Safe Mechanism) for (Open)VPN
https://www.whonix.org/wiki/Impressum
Other
171 stars 46 forks source link

Gentoo Support #18

Closed dl200010 closed 2 years ago

dl200010 commented 8 years ago

I have created a Gentoo Linux version of this script as a init.d script. I use it daily and it works great. I thought I would give back to the work... :D

adrelanos commented 8 years ago

Interesting! I don't use Gentoo myself, so I could not maintain this. Would you keep maintaining this? If so, please add this information to the readme.

After a cursory look, how do you make sure the firewall gets load before networking?

dl200010 commented 8 years ago

Right now it is loaded using the following commands

depend() { after xdm before openvpn }

After the xdm loads, because it otherwise would cause that to freeze up. Before openvpn loads. Do you mean that it should load before even the network interface comes up? Cause that would only be another line of "before net".

dl200010 commented 8 years ago

The "before net" would only try to load it before the network loads. To force it to load before the network, than the network init.d script would need to be changed, but that is actually not in the repository.

adrelanos commented 8 years ago

Great stuff!

DL:

Do you mean that it should load before even the network interface comes up?

Yes. So that there is no chance of a leak before the firewall is up.