Questions tagged [point-to-point-protocol]
Point-to-Point Protocol
85
questions
13
votes
2
answers
71k
views
How to do port forwarding/redirecting on Debian?
I have two questions.
Question 1: My debian machine has interface eth3 with ip 192.168.57.28. If someone tries to connect to 192.168.57.28:1234 how do I redirect the request to another machine: 192....
7
votes
2
answers
6k
views
pptp (pon) fails when called via cron (debian)
I have a pptp VPN link dialing from my (debian) linux server here, to an ISA2003 server at a remote site.
The internet connection at (both) ends is somewhat dodgy, so I have written a little script ...
4
votes
2
answers
7k
views
Permissions to Ping over an interface
My server is running CentOS 6. I have a Sprint Broadband device connected as ppp0. This connection has a tendency to need restarted, so I'm trying to monitor it with Nagios (this is used for other ...
4
votes
0
answers
726
views
pppd terminated bya SIGTERM in Centos 7 -- who's sending it?
Folks,
I created a script to keep a persistent "emergency" connection with a 3G modem, so I can access my CentOS 7 makeshift server remotely if the usual network fails. Everything works for a few ...
3
votes
1
answer
3k
views
What is "the meaning" of this `ip route`?
I'm slowly learning more about IP routing and the ip toolset by investigating a VPN. After I start a particular VPN client, one of the (new) routes displayed by ip route show is
128.0.0.0/1 via 10....
3
votes
2
answers
16k
views
pppd "peer refused to authenticate"
I have a working pptpd+pppd server configured which currently has two Windows 7 clients successfully connecting. However, when I try to connect a linux client I'm getting a really weird exchange that ...
3
votes
4
answers
5k
views
Find out why Linux chat script for ppp connection fails
I'm having trouble making a ppp connection over a GSM Modem. The Platform is an ARM based embedded device, running Debian Linux 5.
The scripts worked before with this device, but not with the new ...
3
votes
1
answer
2k
views
Reasonably Secure Alternative to Poptop PPTP Server for Ubuntu server and Windows clients?
I have a poptp server running on a old Fedora server but I'm upgrading to an Ubuntu 10.04 server.
I was wondering if there are any good, reasonable secure alternatives to poptop that in can install ...
3
votes
1
answer
5k
views
xl2tpd: Provide L2TP/IPsec VPN connectivity to an entire subnet without using a default route
I've set up an L2TP/IPsec VPN using OpenSwan and xl2tpd using the "nodefaultroute" ppp option. The server's virtual IP address is set to 10.10.31.1 and it allocates addresses in the range 10.10.31.2-...
3
votes
1
answer
6k
views
How to find DNS servers for each PPP session in linux?
How to get the DNS server address which are specific to each ppp session. For example, I have two ppp sessions each one connected different service provider, how do I find out the DNS server IP ...
3
votes
1
answer
450
views
nftable rules get invalidated on reconnect (VDSL, ppp0)
I'm rebuilding my router using nftables on debian jessie. I have a working setup up to the moment where my ISP decides to reassign a new WAN IP by reconnecting my DSL-link. After such a reconnect the ...
3
votes
1
answer
862
views
Macvlan-interface and PPP-session
I need to pick up two PPP-sessions on the same interface with different MAC-addresses (on some device with openWrt).
I decided to check macvlans. I created an interface with another MAC-address.
...
2
votes
2
answers
6k
views
how to use ssh over serial without using pppd? ( Or how to transfer TCP over serial without using pppd)
There are many virtual machine based on QEMU in my server. Some of them are forbbiden to use networking, and only way to attach them is via virtual serial port.
Due to serial console's bad features (...
2
votes
2
answers
7k
views
Connection failed using L2TP on Ubuntu 20
I am trying to establish a VPN connection but I am unable to do so. The issues points to PPP as can be seen in the log output below. However, I am not quite sure what I can make out of this:
/var/log/...
2
votes
2
answers
673
views
Using a broadcast or network ID as src IP in PPP?
In case of PPP, are we allowed to use any IP address including broadcast & network id as the source address?
For example:
192.168.1.0, 192.168.1.255?
One of the customer has configured a DHCP ...
2
votes
1
answer
146
views
How to compare 2 TCP/IP stacks or implementations? [closed]
I have to recycle an old machine into a networking node for managing TCP/IP connections and PPP protocols ( basically a DSL connection ); I'm not asking for something more than this, all the tasks ...
2
votes
3
answers
7k
views
Linux server not receiving default IPv6 route over PPP link
I'm replacing a pfSense router in a remote office with a small linux device, running Debian. The router only has to handle very basic iptables / DHCP and VPN facilities. It is configured so that the ...
2
votes
1
answer
5k
views
PPP / 3G modem not getting an IP: No network protocols running
Modem in use: SIM5310 connected to an ARM based board.
root@cm-debian:~# uname -a
Linux cm-debian 4.4.0-cm-t335-5.1-00030-gd350d89-dirty #29 SMP Sat Nov 4 19:18:48 PDT 2017 armv7l GNU/Linux
I am ...
2
votes
2
answers
388
views
What is the point of PPPoE? [closed]
I am trying to expand my knowledge of networking beyond the basics. I have started reading about PPP, and how it is used in DSL modems with PPPoE and PPPoA.
My first impression of PPP was "well that ...
1
vote
2
answers
2k
views
IPv6 PPP Link fails forwarding Router Advertisements into local LAN
A Debian Server having eth0, eth1. eth2, ppp0 devices:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether xx:yy:zz:yy:xx:yy brd ff:ff:ff:ff:...
1
vote
1
answer
1k
views
PPP or Ethernet for fiber-optic link?
Since I have been doing a lot of IP camera jobs lately, it was only a matter of time that something really long-distance, more than can be covered with cat5e/cat6 cable, would come up. My current ...
1
vote
1
answer
3k
views
openfortivpn kills my routes
I am trying to use openfortivpn to connect. Previously I had been using the Fortinet VPN client on MS-Windows - I now get blue screens every time I try to start it (I am downloading the upgraded ...
1
vote
2
answers
2k
views
Seeing Who is Logged into LibreSwan VPN
We recently setup a LibreSwan VPN and for the most part it is working great. One thing we are having some trouble with is trying to see who is currently logged in. I found a solution for seeing ...
1
vote
1
answer
313
views
Tshark/wireshark on an ephemeral interface
Our server hosts a VPN. Each connection to the VPN creates a new PPP interface (ppp0, ppp1, etc.) and the connections are ephemeral in the sense that the interface can go up or down intermittently.
...
1
vote
2
answers
224
views
The output of ifconfig for a Internet USB dongle
This question has been asked on the net before but the answers are simply not convincing or even accurate. I get the following output for ifconfig for the ppp0 device (of course, x, y, a, b are ...
1
vote
1
answer
2k
views
pppd PAM use and combining with CHAP/MSCHAP
Managed to successfully configure pppd to use PAM (/etc/pam.d/ppp) for authentication steps (used login option in addition to auth). However, this seems to work only for PAP (require pap, refuse chap)....
1
vote
2
answers
700
views
Requiring authentication for Internet access on an open network
If I have an open mesh wireless network (or, really, any open access network) and I want to keep the network open access: that is, anyone with the right hardware should be able to connect and talk to ...
1
vote
1
answer
5k
views
How to route internet to an interface ppp0 that I called to?
My scenario is:
host1 has internet connection through interface eth0;
host1 dial up host2 and establishes a PPP connection with it;
host2 has no internet access;
host1 needs to share internet ...
1
vote
1
answer
4k
views
Remove Remote Access Role from WS2012 R2
We have a Windows 2012 R2 server; we use it for AD domain controller and DNS. Can I remove the Remote Access role and the "DirectAccess and VPN (RAS)" Role Service (in Server Manager) from my machine? ...
1
vote
1
answer
400
views
FVS336G PPP SNMP monitoring
Using SNMP to monitor a Netgear FVS336G, I can access all of the interfaces statistics except for PPP1. We have two PPP connections but SNMP only reveals:
ifDescr1 03 May 2011 08:52:16 "lo"
...
1
vote
1
answer
4k
views
Extract number of users connected to IPSsec/L2tpd server
We have a new corporate VPN server running Ipsec (Openswan) + xl2tpd + pppd. When a user connects, pppd runs the /etc/ppp/auth-up script which logs the time and username that has connected to /var/log/...
1
vote
1
answer
395
views
How to get vpn pptp client ip in GRE packets?
I hava captured some packets for pptp client, but how to get the virtual ip of pptp client? thanks
1
vote
0
answers
578
views
routing ppp <-> wireguard interfaces
I want to connect via wireguard to a droplet that will be running openfortivpn for connecting to a 192.168.11.0/24 network. I have confirmed that only traffic to 192.168.11.* goes through fortivpn and ...
1
vote
0
answers
2k
views
What `LCP TermReq` after `IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0>...` means?
What LCP TermReq after IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns... means?
Short snippet:
Sep 16 01:39:13 raspberrypi pppd[581]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Sep 16 ...
1
vote
0
answers
2k
views
L2TP over IPSec strongswan/xl2tpd pppd interface name changes
I have encountered a possible problem in my VPN setup. I have two different entry points into clients network, so I set two services up and, since one of the VPN-connections is slightly better for us, ...
1
vote
2
answers
990
views
Linux pppoe/pppd won't connect to Centurylink fiber
Equipment:
Fedora 27 x86_64
Technicolor C2100T DSL modem/router
Unknown Centurylink ONT optical adapter`
I recently switched from CL 80mb DSL to CL 1000mb fiber, which still relies on pppoe. I have ...
1
vote
0
answers
342
views
FreeRADIUS 3, libradcli4 and ppp compatibility
I'm using Freeradius to authenticate VPN clients using PPTP or L2TP/IPSec (xl2tpd) and I want to do an upgrade from Debian 8 to 9 on our servers incl. upgrading version of Freeradius (2 -> 3).
Both ...
1
vote
1
answer
2k
views
Connect into a custom PPPoE server in Ubuntu in an Virtualbox experimental setup. Connection Fail
I am using an Ubuntu Server 18.04.2LTS and I want to try to make it as a ppp server in order to study the protocol a bit better via wireshark.
The idea is to use virtualbox and use virtual machines ...
1
vote
0
answers
812
views
Openswan l2tp vpn ppp wrong ip address
Using Openswan with xl2tp on archlinux (4.20) to connect to a vpn, I can create the tunnel and the ppp interface is created howerver it gets the wrong ip address:
enp4s0: <BROADCAST,MULTICAST,...
1
vote
0
answers
818
views
connecting Linux pppd to LDAP server to authenticate MSCHAPv2?
I need to provide a remote access VPN service. I'd like very much to use JumpCloud.com to do the user database management. I'm trying to achieve the following:
Provide l2tp+ipsec VPN service to users,...
1
vote
0
answers
873
views
Joining a UDP multicast through a server on the other side of the tunnel
I've drawn a diagram below to help with this question!
So a company published a multicast UDP feed (company A) and another company connects to it (Company B). I have a point-to-point tunnel to ...
1
vote
0
answers
857
views
PPP Adapter answer instead of local NIC
I have set up our DC as a RAS server.
I am now aware that this it not a recommended thing to do, but it's done, and it's our only server so it saves me a lot of work if I can keep it like this.
It's ...
1
vote
1
answer
1k
views
Set up multiple VPN's with a static ip with PPTP with only 1 vpn-login
I have a VPS with Ubuntu 12.04 x64 and i need to connect 118 VPN's to interfaces with (pon vpnname). I've made a script that creates them all, the problem is that no interface will have a unique local ...
1
vote
1
answer
6k
views
Routing all data through an VPN tunnel with ppp
I'm trying to create a VPN tunnel that forwards all data from the local machine to the VPN server.
I'm using ppp-2.4.5 for this with the following configuration:
pty "pptp <VPNServer> --...
1
vote
1
answer
2k
views
How to disable encryption for the remote vpn clients in PPTP?
I find there is one compress PPP packet in GRE packet, so how to get the PPP packet without
encryption and compression ? thanks
1
vote
1
answer
686
views
Bind Poptop (PPTPD) to a specific interface
I have a poptop pptpd running on a server with 16 public IP's
I am getting clients to connect to (for example) eth1:8's IP (I also have pptpd set to listen on the address in /etc/pptpd.conf) the ...
0
votes
2
answers
4k
views
Linux pppd fails but NetworkManager works
So I'm trying to get my PtP modem "Telit ME910" connected to the Verizon LTE network via pppd using Ubuntu 16.04.
If I hook it up and go through the standard Network Manager steps of "Enable Mobile ...
0
votes
1
answer
2k
views
PPPD refuse to work with Sierra : HL7690
I am trying to get a working connection with PPPD in 4G with Sierra HL7690.
Every time I launch PPPD I get a either a "NO CARRIER" or a Modem hangup.
The sequence I use is the following :
Reset the ...
0
votes
1
answer
5k
views
How to prevent the pppd to remove the default route?
We use multiple providers, one of them to create connection uses pppoe through pppd daemon on ubuntu 14.04.
Early without multiple providers pppd manages default route by itself (creating it when ...
0
votes
1
answer
12k
views
PPPoE Connection : "Generic-Error "RP-PPPoE: Child pppd process terminated"
I have 2 Ubuntu 64-bit Virtual Machines installed on Virtual Box.Their name and ip addresses are given below.I am trying to establish PPPoE connection between the two machines.
nas 192.168.129....