LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 02-15-2018, 01:28 AM   #1
root4root
LQ Newbie
 
Registered: Feb 2018
Distribution: Gentoo, Debian
Posts: 4

Rep: Reputation: Disabled
I wrote a new daemon to solve my network issue.


Hi, everyone!

In order to create (keep) VPN tunnel to HQ office, only when it needs, I wrote this open source daemon (MIT Licensed):
https://github.com/root4root/tuninetd

tuninetd can be used in any situation, where we need to monitor network activity and react to it. Very simple solution, but quite powerful, because of opportunity to create your own "business logic" with external script.

I would like to hear some opinions about it! I should, probably, posted in "Networking" forum, but not sure is it appropriate there.

Last edited by root4root; 02-15-2018 at 01:38 AM.
 
Old 02-17-2018, 11:18 AM   #2
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
WOW, thank you so much! I was just circling back around to VPN technology in my learning queue.
I will check it out and spread the word.
 
Old 02-19-2018, 03:36 AM   #3
jareklakman
LQ Newbie
 
Registered: Jun 2017
Posts: 14

Rep: Reputation: Disabled
Hi!
I read readme.md , I don't use VPN often, but tell me if I'm right. Let's say that I've got my home PC and I'm connecting to office. Your daemon will setup connection via internet if my PC want send some data? And then after some time of idle will disconnect?
And what if some packet want to go from office to me? For example someone want to access to my local share?

By the way, have you got some tips for accessing mdb file via internet (it is on Slackware server with Samba)? I was thinking about VPN.
 
Old 02-19-2018, 07:19 PM   #4
root4root
LQ Newbie
 
Registered: Feb 2018
Distribution: Gentoo, Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
sixerjman, thank you! =)

jareklakman,
Quote:
Your daemon will setup connection via internet if my PC want send some data? And then after some time of idle will disconnect?
Exactly right, but actual work to connect/disconnect performs via script, that tuninetd will execute. In fact, this daemon is simply event generator (like a crond, but very own way).

Quote:
And what if some packet want to go from office to me? For example someone want to access to my local share?
Usually, side that wants to exchange data must initialize VPN connection. So, you should deploy some kind of VPN server on your PC to do so. Anyway, you have to have public IP address, at least.
The short answer is: I don't think tuninetd might help you, it this case. The easiest way - keep connection permanent alive, which is opposite goal.

Quote:
By the way, have you got some tips for accessing mdb file via internet (it is on Slackware server with Samba)? I was thinking about VPN.
Yes, probably tunneling (VPN) is a most appropriate for described situation. =) I can't say more precisely, it depends...

Last edited by root4root; 02-19-2018 at 07:28 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using sendmail 8.14.5 to solve issue with ISP. stf92 Slackware 58 10-27-2014 01:17 PM
solve the issue regarding to login screen anand pandya Linux - Newbie 4 09-05-2013 04:06 AM
[SOLVED] Need solution to solve the formatting issue flamingo_l Other *NIX 4 03-11-2011 05:08 AM
How to solve the smb link lost issue. ayongying Linux - Newbie 2 03-11-2010 08:39 PM
new HDD issue: formatted and wrote to it fine, now I cannot mount it Xyan Linux - Hardware 8 11-04-2006 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration