Community discussions

MUM Europe 2020
 
marklodge
Member Candidate
Member Candidate
Topic Author
Posts: 211
Joined: Sun Jun 21, 2009 6:15 pm

Specific WAN IP per user group

Wed Oct 03, 2018 2:19 pm

I have 500 pppoe clients and I have 5 WAN IPs from my provider
How do I set a different WAN IP for each 100 users?

Example:
4mb User group will use: 45.45.45.2
2mb User group will use: 45.45.45.3
etc
 
2frogs
Long time Member
Long time Member
Posts: 542
Joined: Fri Dec 03, 2010 1:38 am

Re: Specific WAN IP per user group

Wed Oct 03, 2018 4:19 pm

/ip firewall nat
add chain=srcnat out-interface-list=WAN src-address-list=group1 action=srcnat to-address=45.45.45.2
add  chain=srcnat out-interface-list=WAN src-address-list=group2 action=srcnat to-address=45.45.45.3
And then disable/remove default masquerade rule.
 
marklodge
Member Candidate
Member Candidate
Topic Author
Posts: 211
Joined: Sun Jun 21, 2009 6:15 pm

Re: Specific WAN IP per user group

Wed Oct 03, 2018 10:26 pm

/ip firewall nat
add chain=srcnat out-interface-list=WAN src-address-list=group1 action=srcnat to-address=45.45.45.2
add  chain=srcnat out-interface-list=WAN src-address-list=group2 action=srcnat to-address=45.45.45.3
And then disable/remove default masquerade rule.
Thank you for this, I will try implementing it

Who is online

Users browsing this forum: MSN [Bot], Sob and 131 guests