i want to share may internet on my lan
i have 2 ethernet cards :local and public
the internet from my isp is broadband (user: ali ,pass:321)
and i want to make a pppoe server so i have done the following:
added addresses to the interfaces
Code: Select all
ip address add address 10.0.0.217/24 interface Public
ip address add address 192.168.0.254/24 interface Local
ip firewall nat add chain=srcnat action=masquerade out-interface=Public
Code: Select all
interface pppoe-client add name=pppoe-user user=ali password=321 interface=public disabled=no
Code: Select all
/ip pool add name="pppoe-pool" ranges=10.1.1.62-10.1.1.72
/ppp profile add name="pppoe-profile" local-address=10.1.1.1 remote-address=pppoe-pool
/ppp secret add name=aaa1 password=123 service=pppoe profile=pppoe-profile
/interface pppoe-server server add service-name=internet interface=local default-profile=pppoe-profile
iam missing something because i cant access the internet from local
and thx in advance