I have my first release of a web admin page for managing a virtual tunnel server. Currently, it consists of a script to install everything (via ssh), and a new page in the web server to manage client connections.
The CLIENT side of things has a script and page as well. However, I am still working on the web page side of it. Would anyone be willing to poke holes in it for me?
A few notes: - the server's starting "Network" number is derived from the eth0 interface mac, but, does allow for changing if you decide to change which node runs your vtun server.
- limited to 10 clients listed (due to tun0-tun9 being pre-defined)
- you cannot remove a client from the list, but, you can disable, or change the name/pass. This is so that the network number allocation doesn't change.
- the network is a 172.31.0.0/30. (1st ip is network, 2nd is client, 3rd is server, 4th is bcast)
- when you save, it regenerates the vtundsrv.conf file with "enabled" clients only, then restarts vtund.
- the tunnel names need to be the NODENAME of the remote client. (at least, that's what my client script/page will ensure).
73, K5DLQ - Darryl
|