Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vikraman/firewall-auth-sh
IITK firewall auth
https://github.com/vikraman/firewall-auth-sh
Last synced: 3 days ago
JSON representation
IITK firewall auth
- Host: GitHub
- URL: https://github.com/vikraman/firewall-auth-sh
- Owner: vikraman
- Created: 2013-01-22T18:09:54.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-03-11T13:22:31.000Z (almost 10 years ago)
- Last Synced: 2024-04-14T15:51:46.435Z (9 months ago)
- Language: Shell
- Size: 122 KB
- Stars: 2
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
firewall-auth-sh
================IITK firewall auth script for fortigate which only uses curl, sed and sh.
Perfect for running on an OpenWrt router!The fortigate gateway works over HTTPS, which is why we need curl with ssl
support. With libcurl linked against polarssl, all the packages fit nicely into
the 4MiB filesystem of most TP-Link routers.Installation
-------------
Add your username and password in the script, copy to router, reboot.```
$ ${EDITOR} firewall-auth.sh
$ scp firewall-auth.sh root@OpenWrt:~
$ scp firewall-auth-init root@OpenWrt:/etc/init.d/firewall-auth
$ ssh root@OpenWrt
# /etc/init.d/firewall-auth enable
# reboot
```