LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-13-2020, 12:40 PM   #16
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,035

Original Poster
Rep: Reputation: Disabled

I have been successful in setting up PSK on my Windows Server and have been able to tunnel in from Slackware.

So I'm able to connect through L2TP, PPTP, PSK and RDP. Also note, that routing is broken in PPTP Plugin and one needs to manually route or use a script like I have from here

http://www.techytalk.info/start-scri...ul-connection/ and adding it to /etc/NetworkManager/dispatcher.d/

PSK and L2TP routes just fine.

I revised the script to my liking ppp0.sh

Code:
#!/bin/bash

IF=$1
STATUS=$2

if [ "$IF" == "ppp0" ]
then
    case "$2" in
        up)
        logger -s "NetworkManager PPTP VPN"
        /sbin/route add -net 192.168.0.0 netmask 255.255.255.0 dev ppp0 metric 50
        ;;
        *)
        ;;
    esac
fi
If you willing to take another stab at it, I will try to assist you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN server for Android 2.1 PPTP and L2TP/IPSEC no luck so far tekhead2 Linux - Mobile 9 06-25-2012 11:50 AM
outbound VPN's fail (pptp/l2tp/ipsec) RattleSn@ke Linux - Security 3 05-21-2008 03:55 PM
IPSEC/L2TP VPN Server on Fedora Core 3 using Kernel 2.6 petwalrus Linux - Networking 3 04-21-2005 10:55 AM
IPsec/L2TP VPN question IPsecLearner Linux - Networking 3 04-19-2005 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:16 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