I miss in the PPPoE settings to be able to set the MTU max or MRU max independently.
in the /var/etv/mpd_wan.conf only the "link mtu" is stored.
Also the tcpmssfix is stored.
I find it very pleasant that e.g. the tcpmssfix is already stored, however it would be nice to be able to deactivate this for special cases. Also to be able to set the max MRU and max MTU would be nice. With Mikrotik this is possible for example.
Is it possible to integrate this in OPNsense?
I am too little developer to write the code.
My bad. I havent seen that MRU, MTU and the tcpmssfix settings can be changed in the PPP Interface section.
Interfaces: Point-to-Point: Devices -> Advanced
Would be nice if PPPoE could get a better UI. Realtime status of connection attempts, and server responses.
I'm confused. Is it not open source for at least 7 years now? ;)
Cheers,
Franco
Quote from: LogicEthos on January 13, 2022, 05:55:23 PM
Would be nice if PPPoE could get a better UI. Realtime status of connection attempts, and server responses.
To view the statistics you just need to edit the mpd5 configuration file (/var/etv/mpd_wan.conf) and add this:
set user foo bar admin
set web self 127.0.0.1 5006
set web open
then you can login to the web interface e.g. via SSH port forwarding and view statistics and data about PPPoE.
To make the configuration changes temporary you have to execute: "/usr/local/sbin/mpd5 -b -k -d /var/etc -f mpd_wan.conf -p /var/run/pppoe_wan.pid -s ppp pppoeclient". After that the PPPoE client will dial in again.
If you click on reconnect via the "interface overview" tab, the manual change is reset and the web interface disappears again.
Quote from: franco on January 17, 2022, 10:54:56 AM
I'm confused. Is it not open source for at least 7 years now? ;)
Cheers,
Franco
I noticed that I don't get my fixed /56 IPv6 prefix when I start mpd manually from the shell. @franco: is there maybe another bug? Sometimes I don't get the prefix on my DTAG and have to reconnect via the web interface.
[EDIT: for Screenshots]
[EDIT2: Putting Screenshots in Text didnt work as expected]
https://ibb.co/CwBJGBN
https://ibb.co/998s6r7
https://ibb.co/z7zNLRY
https://ibb.co/gwDzJqZ
https://ibb.co/pwnK8KM
https://ibb.co/BLwNv36
https://ibb.co/sm3XQpC
https://ibb.co/jrPQ7vP
https://ibb.co/P50SCMb
https://ibb.co/HrKfR4K
https://ibb.co/gMpQ4vm
Viewing IPCP / IPV6CP logs:
The logs for the dial-in can be viewed here:
less /var/log/ppps/ppps_20220117.log
Of course, the date must be adjusted accordingly.
In the log you can see how the dialer communicates with the remote station.
Quote from: seed on January 17, 2022, 08:09:59 PM
To view the statistics you just need to edit the mpd5 configuration file (/var/etv/mpd_wan.conf) and add this:
set user foo bar admin
set web self 127.0.0.1 5006
set web open
Just what I was looking for, thank you.