![]() |
|
[Kali] SSH Forward for VPN on Server - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88) +---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85) +---- Thread: [Kali] SSH Forward for VPN on Server (/showthread.php?tid=5559555) |
SSH Forward for VPN on Server - Anne Marie - Feb 24, 2017 If im using SSH Connection on my Server and starting Ovpn connection Im timing out. I already read that i need to add Rules for that but i dont understand how to do it. Code user@home:# ifconfigHow can i do it? * - captainspalding - Feb 24, 2017 (Feb 24, 2017 05:09 AM)Bundespolizei Wrote: If im using SSH Connection on my Server and starting Ovpn connection Im timing out. I already read that i need to add Rules for that but i dont understand how to do it. You mean you're getting idle timed out? Broken pipe? * - Anne Marie - Feb 24, 2017 (Feb 24, 2017 07:29 PM)captainspalding Wrote: You mean you're getting idle timed out? Broken pipe? Yes correct. * - captainspalding - Feb 24, 2017 (Feb 24, 2017 09:41 PM)Bundespolizei Wrote: Yes correct. I was having this same issue with DO droplets and AWS instances. These boxes would break pipe every 60s. My fix was to add the following line at the bottom of my client's /etc/ssh/ssh_config Code ServerAliveInterval 50This sends a keepalive every 50 seconds. Just to reiterate, this is on the client SSH config, not the server. I first tried messing with the following two lines on the server's config, /etc/ssh/sshd_config: Code ClientAliveInterval 28800But without adding the line in the client side config it did not work. |