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

VPN Cockpit UI #5760

Closed
edospadoni opened this issue May 16, 2019 · 44 comments

Comments

5 participants
@edospadoni
Copy link
Member

commented May 16, 2019

VPN Cockpit UI implementation

Proposed solution

The new UI should be compatible with the existing settings. A new rpm package is added to include only the UI and API part for both IPSec and OpenVPN tunnels through a standard Cockpit module.

Main app menu:

  • Dashboard
  • IPSec configuration
  • OpenVpn tunnels
  • OpenVpn roadwarrior
  • Logs
  • About
  • Documentation

@edospadoni edospadoni added this to To do in Cockpit via automation May 16, 2019

@edospadoni edospadoni moved this from To do to In progress in Cockpit May 16, 2019

gsanchietti added a commit to NethServer/nethserver-openvpn that referenced this issue May 30, 2019

@nethbot

This comment has been minimized.

Copy link
Member

commented May 30, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented May 31, 2019

in 7.6.1810/testing:

gsanchietti added a commit to NethServer/nethserver-ipsec-tunnels that referenced this issue Jun 6, 2019

Merge pull request #9 from gsanchietti/issue5760
Add nethserver-ipsec-tunnels-modify event.
Allow selective start/stop of single tunnels.

NethServer/dev#5760
@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 6, 2019

in 7.6.1810/testing:

@dz00te

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

i've installed latest nethserver-openvpn and nethserver-cockpit from testing repo but there is only legacy settings in Applications... did i miss something?

@gsanchietti

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

i've installed latest nethserver-openvpn and nethserver-cockpit from testing repo but there is only legacy settings in Applications... did i miss something?

You need also to install the nethserver-vpn-ui package (sorry if the bot didn't commented here with the name of the new package).

gsanchietti added a commit to NethServer/nethserver-openvpn that referenced this issue Jun 7, 2019

@dz00te

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

thank you. installed... it's expected that installing vpn-ui also install as dependent packages nethserver-pulledpork/pulledpork and other perl packages?

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

gsanchietti added a commit to NethServer/nethserver-vpn-ui that referenced this issue Jun 7, 2019

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

@gsanchietti

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

thank you. installed... it's expected that installing vpn-ui also install as dependent packages nethserver-pulledpork/pulledpork and other perl packages?

No :) I've found the same error, fixed few minutes ago!

gsanchietti added a commit to NethServer/nethserver-openvpn that referenced this issue Jun 7, 2019

host-to-net: add CustomRoutes (#49)
Allow to push extra routes without adding fake routes inside the global
network configuration.

NethServer/dev#5760
@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

@dz00te

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in OpenVPN Roadwarrior:

  • After editing and applied options of roadwarrior server, an empty page with a spinning wheel
  • Add User: can't open Advanced option
  • Add User > System User: it would be nice to have the userlist sorted alphabetically

happy to see the ability to configure the TCP proto... tnx

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

@gsanchietti

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

  • After editing and applied options of roadwarrior server, an empty page with a spinning wheel

Fixed.

  • Add User: can't open Advanced option

Fixed.

  • Add User > System User: it would be nice to have the userlist sorted alphabetically

Done.

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

in 7.6.1810/testing:

@edospadoni edospadoni removed their assignment Jun 10, 2019

@edospadoni

This comment has been minimized.

Copy link
Member Author

commented Jun 10, 2019

Test Case

  1. Test all new features (IPSec, OpenVPN and Roadwarrior tunnels)

  2. Check that changed configuration must reflects the old NethGUI configuration
    Not supported in the old interface:

    • push custom routes (not editable from the old Server Manager)
    • protocol change UDP/TCP (not compatible with the old Server Manager)
    • enable/disable accounts (not compatible with the old Server Manager)
    • algorithm and compression selection (not editable from the old Server Manager)

gsanchietti added a commit to NethServer/nethserver-cockpit that referenced this issue Jun 10, 2019

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 10, 2019

in 7.6.1810/testing:

@dz00te

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

now if i try to change/edit some setting on roadwarrior server (ie the network) i can not save anymore.

The problem should be resolved with package above.

i have the same problem also with the latest package. tried also on a clean install: update to latest testing packages, configure a new Roadwarrior server. it seems that Custom routes are mandatory

@edospadoni

This comment has been minimized.

Copy link
Member Author

commented Jun 11, 2019

Yes, CustomRoutes was mandatory, removed.

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

in 7.6.1810/testing:

@NethServer NethServer deleted a comment from nethbot Jun 11, 2019

@NethServer NethServer deleted a comment from nethbot Jun 11, 2019

@dz00te

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

it's almost ok now. i can change and save basic config, but if i set Contact this Server in Adanced Option, it seems custom routes become mandatory again

@edospadoni

This comment has been minimized.

Copy link
Member Author

commented Jun 11, 2019

it's almost ok now. i can change and save basic config, but if i set Contact this Server in Adanced Option, it seems custom routes become mandatory again

We've just pushed some changes. You can try the new package.

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

in 7.6.1810/testing:

@dz00te

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

We've just pushed some changes. You can try the new package.

it's working , thank you! i'll do some more tests...

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

in 7.6.1810/testing:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 19, 2019

in 7.6.1810/testing:

@cotosso

This comment has been minimized.

Copy link

commented Jun 19, 2019

After last little fix everything seems to work as expected.

@cotosso cotosso added verified and removed testing labels Jun 19, 2019

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 19, 2019

in 7.6.1810/updates:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 19, 2019

in 7.6.1810/updates:

@nethbot

This comment has been minimized.

Copy link
Member

commented Jun 19, 2019

in 7.6.1810/updates:

Cockpit automation moved this from In progress to Done Jun 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.