Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide handy variables to custom scripts #431

Open
Magissia opened this issue Sep 23, 2015 · 1 comment
Open

Provide handy variables to custom scripts #431

Magissia opened this issue Sep 23, 2015 · 1 comment

Comments

@Magissia
Copy link
Contributor

Hello, I am suggesting to provide some handy variables to custom scripts.

Like "$IPTABLES" we could make use of a "$LAN_IP" that correspond to the current lan range, "$LAN_IPV6" (same for IPv6, not local link) "$CURRENT_PROFILE" to gives current AFwall profile ID or name.

Yes, I know IPv6 are internet routable, but you may still want to do stuff specific to the range you own, like deny port 22 if IPv6 isn't from your range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@ukanth @Magissia and others