Jump to content
Not connected, Your IP: 54.81.61.14
M-Z

Suggestion for configuration maker

Recommended Posts

Since I use AIRVPN mainly to "get outta jail" from my work network, I have to wrap OpenVPN with Stunnel. Doing this I find myself bound to one server because files generated for stunnel configure connection to only one server. To switch to another stunnel server I have to exchange stunnel.conf for another config file.
How about making one configuration file for stunnel, which would look like this:


stunnel.conf:
[openvpn1]
accept = 127.0.0.1:1413
connect = W.X.Y.Z:443
[openvpn2]
accept = 127.0.0.1:1414
connect = A.B.C.D:443
[openvpn3]
accept = 127.0.0.1:1415
connect = M.N.O.P:443


then openvpn configs would look like this:

AAA.ovpn

remote 127.0.0.1 1413
(...)

BBB.ovpn
remote 127.0.0.1 1414
(...)

CCC.ovpn
remote 127.0.0.1 1415
(...)

Of course theoretically everyone can do this themselves, but for 50 or something files it is not pleasant task.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...