Free internet access on pppoe-server

I created a pppoe server that is working perfectly with FreeRadius
however … internet access is not working, I believe that due to the lack of a firewall rule, however I do not know how to create a rule that only allows access to those who have been connected to PPPoE

Hi @douglas, seems you need to add NAT rules for PPPoE client IP address pools.
Example:

set nat source rule 10 outbound-interface 'eth0'
set nat source rule 10 source address '172.16.0.0/24'
set nat source rule 10 translation address 'masquerade'

About NAT you can read in our docs https://docs.vyos.io/en/latest/nat.html

1 Like

Thanks, its working now