Community discussions

MikroTik App
 
ali_hacker
newbie
Topic Author
Posts: 32
Joined: Sat Oct 13, 2007 1:36 pm

Automatic add PPPOE IP address to dynamic address list

Sat Feb 11, 2017 9:37 am

Hi
if you can help me with a script that i can put in PPP profile ((on connect)) that can add the IP address of each new connected client to a specific dynamic address list i would be so much appreciated
Best Regards
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Automatic add PPPOE IP address to dynamic address list

Sat Feb 11, 2017 12:42 pm

You don't need a script for that, just configure the address list in the PPP Profile.
 
quintinza
just joined
Posts: 8
Joined: Sat Jun 17, 2017 2:31 pm

Re: Automatic add PPPOE IP address to dynamic address list

Sun Dec 29, 2019 9:21 am

Resurrecting an old tread here, but want to add that on V 6.45.6 the profile>address list setting adds the remote address of the ppp service and not the local address. In my case I want to use it to hairpin nat to a local server via dyndns, and it works when I specify !<local_ppp_ip> but when I use !<address_list_ip> it won't work because it uses the remote (or network) IP.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Automatic add PPPOE IP address to dynamic address list

Sun Dec 29, 2019 12:12 pm

In that case you could configure On Up and On Down scripts in the PPP profile to add/remove the address in a list.

Who is online

Users browsing this forum: No registered users and 66 guests