News: This forum is now permanently frozen.
Pages: [1]
Topic: scripting m0n0wall control  (Read 1808 times)
« on: May 12, 2010, 23:24:14 »
wpervaiz *
Posts: 5

hey guys, in simple terms, here is what I want to do:

Have a hard switch. When its "off" vpn access is enabled to my network. Once I switch it to "on" I want monowall to disable all vpn access, thereby kicking all users off of the network. It should be kind of a "secure switch" which I can trust to take all other users off of my network when I want to.


Now heres my solution to get there:

I am able to get a keypad button to call a script/curl command/url. All that I need to figure out is a script (preferably php) which when executed, disables vpn access on the monowall. Is there an API or something that I can use to access/change monowall functions directly?

Any ideas would be appreciated!

Thanks!
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines