Skip to content

A small tool written in Go that runs whenever a user connects to the VPN to authenticate their connection, give firewall access etc

License

Notifications You must be signed in to change notification settings

echoCTF/openvpn-updown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

echoCTF OpenVPN UpDown

A small tool written in Go that is used by OpenVPN client-connect and client-disconnect.

The tool is reponsible for providing the following functionality

  • Checks if the event is active before proceeding
  • Checks if the user is already logged in
  • Calls the VPN_LOGIN() / VPN_LOGOUT() procedures on the database
  • Retrieves existing networks that the user is granted access
  • Retrieves private instance networks that the user is granted access
  • Executes pfctl to add the user VPN assigned IP to their client tables (<networkcodename_clients>)

About

A small tool written in Go that runs whenever a user connects to the VPN to authenticate their connection, give firewall access etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published