Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPPoE Server Problem #1007

Closed
msnzare opened this issue Nov 21, 2018 · 9 comments
Closed

PPPoE Server Problem #1007

msnzare opened this issue Nov 21, 2018 · 9 comments
Labels
help wanted Contributor missing

Comments

@msnzare
Copy link

msnzare commented Nov 21, 2018

I have problem with PPPoE Server on opnsense
OPNSense version: 18.7.7
os-pppoe Plugin version: 1.7_2
PPPoE server is configured as follows:
image
I have also added “any to any” ipv4 rules in Firewall rules (WAN & PPPoE)
When I want to connect OPNSense using PPPoE client (in windows 7) there is an error (following image) and There is no PPPoE Logins log in opnsense.
image
The PPPoE client security profile is as follow:
image
Thanks for support.

@mimugmail
Copy link
Member

I have no idea of this plugin, but at first I'd start to check if:

  • daemon is running
  • packets arriving at WAN interface
  • something to see in filter.log
  • any other logs available?

Did your setup successfully run on any other version like 18.1?

@msnzare
Copy link
Author

msnzare commented Nov 26, 2018

I have no idea of this plugin, but at first I'd start to check if:

* daemon is running

* packets arriving at WAN interface

* something to see in filter.log

* any other logs available?

Did your setup successfully run on any other version like 18.1?

I've checked:
Daemon is running
Packets arriving at wan interface
and there is not special log available
Is there any idea?
Thanks.

@mimugmail
Copy link
Member

Do you see packets also replied?
I'd check system.log, ppps.log, or better everything in /var/log :)

@msnzare
Copy link
Author

msnzare commented Nov 27, 2018

g, pp

I've checked as following:
The firewall has globally been disabled,

Dump PPPoE Discovery packets:
root@OPNsense:~ # tcpdump -i igb0 pppoed
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on igb0, link-type EN10MB (Ethernet), capture size 262144 bytes
07:32:49.821187 PPPoE PADI [Service-Name] [Host-Uniq 0x0E000000000000000E000000]
07:32:54.823256 PPPoE PADI [Service-Name] [Host-Uniq 0x0E000000000000000E000000]
07:32:59.825883 PPPoE PADI [Service-Name] [Host-Uniq 0x0E000000000000000E000000]
07:33:04.828672 PPPoE PADI [Service-Name] [Host-Uniq 0x0E000000000000000E000000]
^C
4 packets captured
287 packets received by filter
0 packets dropped by kernel
root@OPNsense:~ #

Dump PPPoE Session packets:
root@OPNsense:~ # tcpdump -i igb0 pppoes
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on igb0, link-type EN10MB (Ethernet), capture size 262144 bytes
^C
0 packets captured
207 packets received by filter
0 packets dropped by kernel
root@OPNsense:~ #

poes.log file:
ov 27 06:54:12 OPNsense poes: caught fatal signal TERM
Nov 27 06:54:14 OPNsense poes: [B] Bundle: Shutdown
Nov 27 06:54:14 OPNsense poes: [L] Link: Shutdown
Nov 27 06:54:14 OPNsense poes: PPPoE: stop waiting for connection on igb0:, service "pppoe1"
Nov 27 06:54:14 OPNsense poes: process 54912 terminated
Nov 27 06:54:23 OPNsense poes: Multi-link PPP daemon for FreeBSD
Nov 27 06:54:23 OPNsense poes:
Nov 27 06:54:23 OPNsense poes: process 74143 started, version 5.8 (root@opn-build-amd64-1 23:48 27-Jul-2018)
Nov 27 06:54:23 OPNsense poes: PPPoE: waiting for connection on igb0:, service "pppoe1"

Actually PPPoE Discovery packets are sent to OPNsense but there is no reply from it.

Thanks for support.

@newerit
Copy link

newerit commented Apr 16, 2019

not resolved? i am have the same problem!

@polumish
Copy link

polumish commented Jun 4, 2019

I have this problem too. Issue - set correct service name on client side. From our log - service name is "pppoe1". After I set this name on client side, all worked correctly.
Other question - where we can rename service name on server side?

@fichtner fichtner added the help wanted Contributor missing label Jun 4, 2019
@tuyenld
Copy link

tuyenld commented Sep 24, 2019

I have a work around solution. You need to comment out the line then try to change any PPPoE server configuration:

vi /usr/local/etc/inc/plugins.inc.d/if_pppoe.inc
//set pppoe service pppoe{$pppoecfg['pppoeid']}

According to mpd man page:

set pppoe service service-name
Sets the requested PPPoE service name. Setting service name to "*" on link with allowed incoming connections allows to accept incoming connection requests with any service name specified.

Since FreeBSD 6.3-STABLE/7.0-STABLE of 2008-01-30 it is possible to use "AC-Name\Service-Name" syntax to request specified access concentrator for outgoing connection.

The default is "*".

@benddevice
Copy link

No solution ???

@AdSchellevis
Copy link
Member

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributor missing
Development

No branches or pull requests

8 participants