Python Forum
programs 1 and 2 i am working on
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
programs 1 and 2 i am working on
#1
program 1 starts the named tunnel:
if self is already running for this tunnel, quit
finds the module describing the named vpn tunnel
imports that module and gets tunnel parameters
invokes openvpn with arguments to start this tunnel
loop gracefully until tunnel comes up
success

program 2 start using the named vpn:
if self is already running for this tunnel, quit
finds the module describing the named vpn tunnel
imports that module and gets tunnel parameters
loop gracefully until tunnel comes up
adds v4 and v6 routes appropriate for this vpn
loop gracefully until target can be reached.
success

i may just want to set (and unset) desired states and have the big main loop take care of everything. tunnels will have to be defined with which end listens and which end connects. a listen end is not up until the client end connects successfully. tunnels are also defined with what routes to add at what priority.

the aws version may involve starting a cloud instance.

there are more programs, such as taking tunnels and vpn down, doing monitoring and restarts.

more ... later ...
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020