Community discussions

MikroTik App
 
shonu
newbie
Topic Author
Posts: 36
Joined: Sun Sep 16, 2018 1:25 pm

help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 9:26 am

i have whatsapp ip pool . and whatsapp block in my country . i have vpn also . i make vpn and my all clint use vpn after my clint access whatsapp and imo . this is possible my clint without connect vpn access whatsapp . i have whatsapp pool
 
User avatar
baragoon
Member Candidate
Member Candidate
Posts: 296
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 9:40 am

/ip route
add distance=1 dst-address=whatsapp_pool/mask gateway=vpn_client_interface
 
shonu
newbie
Topic Author
Posts: 36
Joined: Sun Sep 16, 2018 1:25 pm

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 10:24 am

bro if i give you my router access you do for me . if u want i pay you . i am now in mikrotik i dont know how to do full configuration :( .
 
User avatar
baragoon
Member Candidate
Member Candidate
Posts: 296
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 10:36 am

bro if i give you my router access you do for me . if u want i pay you
it is not necessary
do you have ssh access to router?
if yes, post output of
/export hide-sensitive
command here and I'll try to help you.
 
shonu
newbie
Topic Author
Posts: 36
Joined: Sun Sep 16, 2018 1:25 pm

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 11:27 am

bro if i give you my router access you do for me . if u want i pay you
it is not necessary
do you have ssh access to router?
if yes, post output of
/export hide-sensitive
command here and I'll try to help you.
i have to much client :( and my terminal is not showing full setting :(
plz tell me if i fund in googel what is write there
 
shonu
newbie
Topic Author
Posts: 36
Joined: Sun Sep 16, 2018 1:25 pm

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 11:55 am

# jan/29/2019 21:02:44 by RouterOS 6.43.8
# software id = S6QH-PAX0
#
# model = RB1100Dx4
# serial number = 9BDA09812BC0
/interface ethernet
set [ find default-name=ether13 ] mac-address=B8:69:F4:45:B6:86 name=Local1 \
speed=100Mbps
set [ find default-name=ether12 ] mac-address=B8:69:F4:45:B6:85 name=Local2 \
speed=100Mbps
set [ find default-name=ether11 ] mac-address=B8:69:F4:45:B6:84 name=Local3 \
speed=100Mbps
set [ find default-name=ether10 ] mac-address=B8:69:F4:45:B6:83 name=Local4 \
speed=100Mbps
set [ find default-name=ether9 ] mac-address=B8:69:F4:45:B6:82 name=Local5 \
speed=100Mbps
set [ find default-name=ether8 ] mac-address=B8:69:F4:45:B6:81 name=Local6 \
speed=100Mbps
set [ find default-name=ether7 ] mac-address=B8:69:F4:45:B6:80 name=Local7 \
speed=100Mbps
set [ find default-name=ether6 ] mac-address=B8:69:F4:45:B6:7F name=Local8 \
speed=100Mbps
set [ find default-name=ether5 ] mac-address=B8:69:F4:45:B6:7E name=Local9 \
speed=100Mbps
set [ find default-name=ether1 ] mac-address=B8:69:F4:45:B6:7A name=WAN1 \
speed=100Mbps
set [ find default-name=ether2 ] disabled=yes mac-address=B8:69:F4:45:B6:7B \
name=WAN2 speed=100Mbps
set [ find default-name=ether3 ] disabled=yes mac-address=B8:69:F4:45:B6:7C \
name=WAN3 speed=100Mbps
set [ find default-name=ether4 ] disabled=yes mac-address=B8:69:F4:45:B6:7D \
name=WAN4 speed=100Mbps
/interface pptp-client
add connect-to=sal-us.earthvpn.com disabled=no name=pptp-out1 password=\
**** user=****
add connect-to=atl-us.earthvpn.com keepalive-timeout=disabled name=pptp-out2 \
password=***** user=****
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] dns-name=mjb.net login-by=http-chap,mac-cookie \
radius-accounting=no use-radius=yes
add dns-name=mjb.net hotspot-address=192.192.168.1 login-by=\
http-chap,mac-cookie name=hsprof1 use-radius=yes
add dns-name=mjb.net hotspot-address=192.193.168.1 login-by=\
http-chap,mac-cookie name=hsprof2 use-radius=yes
add dns-name=mjb.net hotspot-address=192.194.168.1 login-by=\
http-chap,mac-cookie name=hsprof3 use-radius=yes
add dns-name=mjb.net hotspot-address=192.195.168.1 login-by=\
http-chap,mac-cookie name=hsprof4 use-radius=yes
add dns-name=mjb.net hotspot-address=192.196.168.1 login-by=\
http-chap,mac-cookie name=hsprof5 use-radius=yes
add dns-name=mjb.net hotspot-address=192.197.168.1 login-by=\
http-chap,mac-cookie name=hsprof6 use-radius=yes
add dns-name=mib.net hotspot-address=192.198.168.1 login-by=\
http-chap,mac-cookie name=hsprof7 use-radius=yes
add dns-name=mjb.net hotspot-address=192.199.168.1 login-by=\
http-chap,mac-cookie name=hsprof8 use-radius=yes
add dns-name=mjb.net hotspot-address=192.200.168.1 login-by=\
http-chap,mac-cookie name=hsprof9 use-radius=yes
add dns-name=mjb.net hotspot-address=192.192.168.1 login-by=\
http-chap,mac-cookie name=hsprof10 use-radius=yes
/ip hotspot user profile
set [ find default=yes ] transparent-proxy=yes
add keepalive-timeout=4w2d2m mac-cookie-timeout=4w2d name=4Mbps rate-limit=\
5M/5M session-timeout=4w2d status-autorefresh=4w2d1m transparent-proxy=\
yes
/ip pool
add name=hs-pool-13 ranges=192.192.168.2-192.192.168.254
add name=hs-pool-12 ranges=192.193.168.2-192.193.168.254
add name=hs-pool-11 ranges=192.194.168.2-192.194.168.254
add name=hs-pool-9 ranges=192.196.168.2-192.196.168.254
add name=hs-pool-8 ranges=192.197.168.2-192.197.168.254
add name=hs-pool-7 ranges=192.198.168.2-192.198.168.254
add name=hs-pool-6 ranges=192.199.168.2-192.199.168.254
add name=hs-pool-5 ranges=192.200.168.2-192.200.168.254
add name=PPTP ranges=10.2.0.2-10.2.0.254
add name=pptp2 ranges=11.2.0.2-11.2.0.254
/ip dhcp-server
add address-pool=hs-pool-13 disabled=no interface=Local1 lease-time=1h name=\
dhcp1
add address-pool=hs-pool-12 disabled=no interface=Local2 lease-time=1h name=\
dhcp2
add address-pool=hs-pool-11 disabled=no interface=Local3 lease-time=1h name=\
dhcp3
add address-pool=hs-pool-9 disabled=no interface=Local5 lease-time=1h name=\
dhcp5
add address-pool=hs-pool-8 disabled=no interface=Local6 lease-time=1h name=\
dhcp6
add address-pool=hs-pool-7 disabled=no interface=Local7 lease-time=1h name=\
dhcp7
add address-pool=hs-pool-6 disabled=no interface=Local8 lease-time=1h name=\
dhcp8
add address-pool=hs-pool-5 disabled=no interface=Local9 lease-time=1h name=\
dhcp9
/ip hotspot
add address-pool=hs-pool-13 disabled=no interface=Local1 name=hotspot1 \
profile=hsprof1
add address-pool=hs-pool-12 disabled=no interface=Local2 name=hs-Local2 \
profile=hsprof2
add address-pool=hs-pool-11 disabled=no interface=Local3 name=hs-Local3 \
profile=hsprof3
add address-pool=hs-pool-9 disabled=no interface=Local5 name=hs-Local5 \
profile=hsprof5
add address-pool=hs-pool-8 disabled=no interface=Local6 name=hs-Local6 \
profile=hsprof6
add address-pool=hs-pool-7 disabled=no interface=Local7 name=hs-Local7 \
profile=hsprof7
add address-pool=hs-pool-6 disabled=no interface=Local8 name=hs-Local8 \
profile=hsprof8
add address-pool=hs-pool-5 disabled=no interface=Local9 name=hs-Local9 \
profile=hsprof9
/ip pool
add name=hs-pool-10 next-pool=hs-pool-5 ranges=192.195.168.2-192.195.168.254
/ip dhcp-server
add address-pool=hs-pool-10 disabled=no interface=Local4 lease-time=1h name=\
dhcp4
/ip hotspot
add address-pool=hs-pool-10 disabled=no interface=Local4 name=hs-Local4 \
profile=hsprof4
/ppp profile
add local-address=pptp2 name=PPTP2 remote-address=pptp2
add local-address=PPTP name=PPTP remote-address=PPTP
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,config-payment-gw password=\
azan5120559999 signup-allowed=yes
/tool user-manager profile
add name=25LAST name-for-users="" override-shared-users=1 owner=admin price=\
30 starts-at=logon validity=10w
add name=5-Mb name-for-users="" override-shared-users=1 owner=admin price=30 \
starts-at=logon validity=4w2d
add name=10-Mb name-for-users="" override-shared-users=1 owner=admin price=50 \
starts-at=logon validity=4w2d
add name=5MB name-for-users="" override-shared-users=off owner=admin price=30 \
starts-at=logon validity=4w2d
add name=20expir name-for-users="" override-shared-users=1 owner=admin price=\
0 starts-at=logon validity=2w1d
add name=25expir name-for-users="" override-shared-users=1 owner=admin price=\
0 starts-at=logon validity=2w6d
add name=2days name-for-users="" override-shared-users=1 owner=admin price=0 \
starts-at=logon validity=2d
add name=boncer name-for-users="" override-shared-users=off owner=admin \
price=0 starts-at=logon validity=0s
add name=15days name-for-users="" override-shared-users=off owner=admin \
price=0 starts-at=logon validity=2w1d
add name=5days name-for-users="" override-shared-users=off owner=admin price=\
0 starts-at=logon validity=5d
add name=10expir name-for-users="" override-shared-users=off owner=admin \
price=0 starts-at=logon validity=1w3d
add name=10LAST name-for-users="" override-shared-users=off owner=admin \
price=30 starts-at=logon validity=5w
add name=1DAY name-for-users="" override-shared-users=off owner=admin price=0 \
starts-at=logon validity=0s
/tool user-manager profile limitation
add address-list="" download-limit=0B group-name="" ip-pool="" name=1MB \
owner=admin rate-limit-min-rx=5242880B rate-limit-min-tx=5242880B \
rate-limit-rx=5242880B rate-limit-tx=5242880B transfer-limit=0B \
upload-limit=0B uptime-limit=0s
add address-list="" download-limit=0B group-name="" ip-pool="" name=5Mb \
owner=admin rate-limit-min-rx=5242880B rate-limit-min-tx=5242880B \
rate-limit-rx=5242880B rate-limit-tx=5242880B transfer-limit=0B \
upload-limit=0B uptime-limit=0s
add address-list="" download-limit=0B group-name="" ip-pool="" name=10Mb \
owner=admin rate-limit-min-rx=10485760B rate-limit-min-tx=10485760B \
rate-limit-rx=10485760B rate-limit-tx=10485760B transfer-limit=0B \
upload-limit=0B uptime-limit=0s
add address-list="" download-limit=0B group-name="" ip-pool="" name=limit1 \
owner=admin rate-limit-min-rx=5242880B rate-limit-min-tx=5242880B \
rate-limit-rx=5242880B rate-limit-tx=5242880B transfer-limit=0B \
upload-limit=0B uptime-limit=0s
add address-list="" download-limit=0B group-name="" ip-pool="" name=limit2 \
owner=admin rate-limit-min-rx=5242880B rate-limit-min-tx=5242880B \
rate-limit-rx=5242880B rate-limit-tx=5242880B transfer-limit=0B \
upload-limit=0B uptime-limit=0s
/ip neighbor discovery-settings
set discover-interface-list=none
/interface pppoe-server server
add authentication=pap disabled=no interface=Local1 one-session-per-host=yes \
service-name=service1
add authentication=pap disabled=no interface=Local2 one-session-per-host=yes \
service-name=service2
add authentication=pap disabled=no interface=Local3 one-session-per-host=yes \
service-name=service3
add authentication=pap disabled=no interface=Local4 one-session-per-host=yes \
service-name=service4
add authentication=pap disabled=no interface=Local5 one-session-per-host=yes \
service-name=service5
add authentication=pap disabled=no interface=Local6 one-session-per-host=yes \
service-name=service6
add authentication=pap disabled=no interface=Local7 one-session-per-host=yes \
service-name=service7
add authentication=pap disabled=no interface=Local8 one-session-per-host=yes \
service-name=service8
add authentication=pap disabled=no interface=Local9 one-session-per-host=yes \
service-name=service9
/interface pptp-server server
set authentication=pap,chap,mschap1,mschap2 enabled=yes keepalive-timeout=\
disabled
/ip address
add address=192.192.168.1/24 interface=Local1 network=192.192.168.0
add address=99.99.99.99/24 interface=Local1 network=99.99.99.0
add address=192.193.168.1/24 interface=Local2 network=192.193.168.0
add address=192.194.168.1/24 interface=Local3 network=192.194.168.0
add address=192.195.168.1/24 interface=Local4 network=192.195.168.0
add address=192.196.168.1/24 interface=Local5 network=192.196.168.0
add address=192.197.168.1/24 interface=Local6 network=192.197.168.0
add address=192.198.168.1/24 interface=Local7 network=192.198.168.0
add address=192.199.168.1/24 interface=Local8 network=192.199.168.0
add address=192.200.168.1/24 interface=Local9 network=192.200.168.0
add address=192.168.5.200/24 interface=WAN1 network=192.168.5.0
add address=192.168.6.200/24 disabled=yes interface=WAN2 network=192.168.6.0
add address=192.168.3.200/24 disabled=yes interface=WAN3 network=192.168.3.0
add address=192.168.4.200/24 disabled=yes interface=WAN4 network=192.168.4.0
/ip cloud
set update-time=no
/ip dhcp-server network
add address=192.192.168.0/24 comment="hotspot network" gateway=192.192.168.1
add address=192.193.168.0/24 comment="hotspot network" gateway=192.193.168.1
add address=192.194.168.0/24 comment="hotspot network" gateway=192.194.168.1
add address=192.195.168.0/24 comment="hotspot network" gateway=192.195.168.1
add address=192.196.168.0/24 comment="hotspot network" gateway=192.196.168.1
add address=192.197.168.0/24 comment="hotspot network" gateway=192.197.168.1
add address=192.198.168.0/24 comment="hotspot network" gateway=192.198.168.1
add address=192.199.168.0/24 comment="hotspot network" gateway=192.199.168.1
add address=192.200.168.0/24 comment="hotspot network" gateway=192.200.168.1
/ip dns
set allow-remote-requests=yes cache-size=10000KiB servers=\
8.8.8.8,8.8.4.4,192.196.168.1
/ip firewall address-list
add address=192.199.168.1-192.199.168.254 list=VPN
add address=10.2.0.2-10.2.0.254 list=PPTP
add address=11.2.0.2-11.2.0.254 list=PPTP2
add address=157.240.22.52 list=whatsapp
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=accept chain=input dst-port=1723 protocol=tcp
add action=accept chain=output protocol=gre
add action=accept chain=output dst-port=5222 protocol=tcp
add action=accept chain=output dst-port=443 protocol=tcp
add action=accept chain=output protocol=udp
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=LOCAL_2 \
passthrough=yes src-address-list=PPTP
add action=mark-routing chain=prerouting disabled=yes new-routing-mark=\
LOCAL_3 passthrough=yes src-address=11.2.0.2-11.2.0.254 src-address-list=\
PPTP2
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local1
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local1 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local1 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local1 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local1 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local2
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local2
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local2 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local2 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local2 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local2 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local3
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local3
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local3 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local3 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local3 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local3 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local4
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local4
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local4 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local4 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local4 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local4 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local5
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local5
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local5 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local5 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local5 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local5 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local6
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local6
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local6 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local6 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local6 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local6 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local7
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local7
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local7 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local7 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local7 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local7 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local8
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local8
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local8 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local8 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local8 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local8 new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
new-connection-mark=WAN1_con passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
new-connection-mark=WAN2_con passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_con disabled=yes \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_con disabled=yes \
new-routing-mark=to_WAN2 passthrough=yes
add action=accept chain=prerouting disabled=yes dst-address=192.168.5.0/24 \
in-interface=Local9
add action=accept chain=prerouting disabled=yes dst-address=192.168.6.0/24 \
in-interface=Local9
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local9 new-connection-mark=WAN1_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting disabled=yes dst-address-type=\
!local hotspot=auth in-interface=Local9 new-connection-mark=WAN2_con \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con disabled=\
yes in-interface=Local9 new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_con disabled=\
yes in-interface=Local9 new-routing-mark=to_WAN2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=pptp-out1
add action=masquerade chain=srcnat disabled=yes out-interface=pptp-out2
add action=masquerade chain=srcnat disabled=yes out-interface=*13
add action=masquerade chain=srcnat disabled=yes out-interface=WAN2
add action=masquerade chain=srcnat disabled=yes out-interface=WAN3
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.193.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.194.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.195.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.196.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.197.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.200.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.198.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.199.168.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.192.168.0/24
/ip hotspot ip-binding
add mac-address=14:36:C6:5C:C9:46 type=blocked
/ip hotspot user
add name=admin password=0000
add comment="MJB / ameeer / free" mac-address=7C:46:85:C2:BD:45 name=500 \
password=600 profile=4Mbps
add comment="MJB billa free" name=13 password=1000
add comment="MJB / ajmal " mac-address=94:65:2D:23:D5:59 name=Ajmal password=\
ateefa2011 profile=4Mbps
add comment="admin account" name=khan password=5120
add comment="mjb " name=nomi213 password=213
add comment="mjb bilal free" name=bali password=405 profile=4Mbps
add comment=kamran name=shonux password=51 profile=4Mbps
add comment="abid roommate / " mac-address=FC:42:03:F2:5A:DC name=ali420 \
password=321 profile=4Mbps
add comment="rizwan supervisor" name=user11 profile=4Mbps
add comment="My Friend Qaisar/Roommat B 310" name=Qaisar7 profile=4Mbps
add comment=" 213" name=saqib1994 password=1994 profile=4Mbps
add comment="mjb / free / zabi friend " mac-address=C8:D7:B0:55:51:81 name=\
abdullah password=0543600160 profile=4Mbps
add comment="mjb free asrsr shokat czn" mac-address=DC:CF:96:68:EF:7F name=\
"muhammad asrar" password=asrar7272 profile=4Mbps
add name=user7 password=1
add comment="sir sheraz supervisor" mac-address=08:C5:E1:38:28:77 name=user8 \
password=1010
add comment="mahad supervisor" name=user12 profile=4Mbps
add comment="mjb / free / james sir " name=James password=jvc profile=4Mbps
add comment="mjb / freee " name=anjum password=786 profile=4Mbps
add comment="mjb / freee " name=anjum1 password=786 profile=4Mbps
add comment="mjb / freee / faizan " name=faizan password=kayani profile=4Mbps
add comment="Kiyani roommat" disabled=yes name=Kiyani password=1991 profile=\
4Mbps
add comment="Mjb cordinator/free" disabled=yes name=Mohan password=Mohan \
profile=4Mbps
add comment="Mjb coordinator free" disabled=yes name=Mohan123 password=\
Mohan123 profile=4Mbps
add name=user3
add comment="campbosss freeed " mac-address=F0:F6:1C:69:3B:88 name=pti \
password=swat123 profile=4Mbps
add comment="Free / 137 / " name=waqas0342 password=waqas profile=4Mbps
add comment="mjb free / supervisor" name=maqsood password=1981 profile=4Mbps
add comment="haneef free " mac-address=C8:D7:B0:95:94:BE name=37533 password=\
37533 profile=4Mbps
add comment="ali / " name=user17 password=hxjdjd profile=4Mbps
add comment="lateef clner supervisor" name=user59 password=1234
add comment="supervisor " name=Masood password=1981 profile=4Mbps
add comment="arif opration supervisor " name=arif11 password=noor profile=\
4Mbps
add comment="rizwan supervisor " name=kamran11 password=rizwan profile=4Mbps
add comment="nabeeel bhai " mac-address=48:FC:B6:64:F9:3C name=nabeel97 \
password=nabeel97
add name=faizan1
add comment="shinoo kiran freee" name=user5 password=mjb
add comment="kiran relation mjb free " name=user9 password=mjb
add comment="free mjb " name=xubair1 password=xubair1
add comment="lafeef laptop" name=user1000 password=101 profile=4Mbps
add comment="karpasuami mjb " disabled=yes name=karuppasamy password=123456 \
profile=4Mbps
add comment=nabeel name=nabeel password=nabeel1 profile=4Mbps
add comment="arif supervisor" name=arif00 password=00 profile=4Mbps
add comment="rizwan campboss" name=rizwan1 password=rizwan
add comment=campboas name=112200 password=112200 profile=4Mbps
add comment="camp clener codineter" name=veeramani password=0556262 profile=\
4Mbps
add comment="rizwan brother" name=user20 password=20 profile=4Mbps
add comment="boncer shakir" name=10001 password=10001 profile=4Mbps
add comment="10last " name=Stephen password=22468 profile=4Mbps
add comment="aziz sir bhanja" name=amir password=khan profile=4Mbps
add comment="1feb last 20dhrm" name=1ee password=1ee profile=4Mbps
add comment="1feb / " name=zahoor password=zahoor000 profile=4Mbps
add comment="febe 10 last 35dhrm " mac-address=8C:D4:8E:39:D3:6E name=9sur \
password=sur profile=4Mbps
add comment="10febe last / 35dhrm " name=9aau password=aau profile=4Mbps
add comment="10febe last / 30dhrm " name=9gtt password=gtt profile=4Mbps
add comment="10febe last 35dhrm " name=9tro password=tro profile=4Mbps
add comment="10febe / last /35dhrm " mac-address=A0:28:ED:83:D1:B2 name=2rpp \
password=rpp profile=4Mbps
add comment="10febe last /35dhrm " mac-address=14:1F:78:A4:8C:A0 name=2eeu \
password=eeu profile=4Mbps
add comment="10febe last / 35dhrm " mac-address=34:2D:0D:6F:14:8B name=9hh \
password=hh profile=4Mbps
add comment="10febe / last / 35dhrm " mac-address=98:74:DA:04:FA:68 name=9dd \
password=dd profile=4Mbps
add comment="10febe / last / 35dhrm " mac-address=90:97:F3:06:40:2A name=9ee \
password=ee profile=4Mbps
add comment="10 jan../" name=112user password=112 profile=4Mbps
add comment=10..Feb/37drhm name=2raja password=raja profile=4Mbps
add comment="10febe last /5baki / 30dhrm /" mac-address=D4:38:9C:E3:54:68 \
name=9xxu password=xxu profile=4Mbps
add comment="10febe last / 35last " name=9ru password=ru profile=4Mbps
add comment="10febe last / 35dhrm" mac-address=F0:5B:7B:7F:9E:58 name=9tto \
password=tto profile=4Mbps
add comment="10febe last / 35dhmr " mac-address=C0:D3:C0:BA:43:7F name=9uoo \
password=oo profile=4Mbps
add comment=10feb/35/B302 name=Albert password=1992
add comment="10febe last / 35dhrm " name=dhurba123 password=menakas profile=\
4Mbps
add comment="10febe / last / 35dhrm " mac-address=F4:C2:48:02:8C:3E name=\
hamza1996 password=1996 profile=4Mbps
add comment="10febe / last 35dhrm" name=9woo password=oo profile=4Mbps
add comment="10 febe last / " name=9wpp password=pp profile=4Mbps
add comment="10febe last / " name=9erp password=erp profile=4Mbps
add comment="10febe last / " mac-address=7C:78:7E:26:A7:29 name=9koo \
password=koo profile=4Mbps
add comment="10febe last 35dhrm" mac-address=CC:9F:7A:C6:39:01 name=9gg \
password=gg profile=4Mbps
add comment="10febe last " name=9ll password=kk profile=4Mbps
add comment="10..Feb/35 drhm" mac-address=9C:0C:DF:9B:9F:FB name=114user \
password=114 profile=4Mbps
add comment=10..Feb/35drhm mac-address=E4:C4:83:E8:A4:85 name=115user \
password=115 profile=4Mbps
add comment="10febe last " name=9moo password=moo profile=4Mbps
add comment="10febe last / 35dhrm " name=70000 password=70000 profile=4Mbps
add comment="10febe last / 30dhm " mac-address=40:3F:8C:0D:44:7A name=lobe \
password=lobe123 profile=4Mbps
add comment="10febe last / 30dhrm " name=9gpu password=uu profile=4Mbps
add comment="10febe last / " name=9rew password=ww profile=4Mbps
add comment="10febe / last /35dhrm " mac-address=3C:57:6C:5B:FE:0C name=9ryy \
password=yy profile=4Mbps
add comment="10febe last / " name=9too password=tpp profile=4Mbps
add comment=10feb.35dirhm. name=user1122 password=1988
add comment=10feb.35dirhm.B325 name=Asif1983 password=1983
add comment=10feb.35dirhm.A204 name=Gangadhar password=1979
add comment=10..Feb/35drhm mac-address=F0:5B:7B:23:00:F9 name=119user \
password=119 profile=4Mbps
add comment=10..feb/35drhm mac-address=34:8B:75:1E:B9:F7 name=120user \
password=120 profile=4Mbps
add comment=10..feb/35drhm mac-address=D4:38:9C:E3:54:68 name=121user \
password=121 profile=4Mbps
add comment="10..Feb/35drhm/10 drhm baqaya" mac-address=F4:C2:48:19:AD:E3 \
name=122user password=122 profile=4Mbps
add comment=10..Feb/35drhm mac-address=78:FF:CA:B5:DA:B3 name=123user \
password=123 profile=4Mbps
add comment="10..Feb/35 drhm" mac-address=18:65:90:05:25:FC name=125user \
password=125 profile=4Mbps
add comment="10...Feb/35 drhm" mac-address=54:27:58:23:3B:58 name=126user \
password=126 profile=4Mbps
add comment=10..feb/30drhm mac-address=C4:93:D9:09:C0:C9 name=130usr \
password=130 profile=4Mbps
add comment=10..Feb/33..drhm mac-address=24:2E:02:B4:BB:CE name=131user \
password=131 profile=4Mbps
add comment="10..feb/33 drhm" mac-address=54:40:AD:64:11:CA name=132user \
password=132 profile=4Mbps
add comment="10..feb/33 drhm" mac-address=14:1F:78:95:E0:C2 name=133 \
password=133 profile=4Mbps
add comment=10..feb/30drhm mac-address=08:EE:8B:C9:4F:32 name=134user \
password=134 profile=4Mbps
add comment=10..feb/33drhm mac-address=54:27:58:5B:BF:6F name=135user \
password=135 profile=4Mbps
add comment=10..feb/33drhm mac-address=1C:C3:EB:91:E2:4B name=136 password=\
136 profile=4Mbps
add comment=10....feb/30drhm mac-address=E4:C4:83:E8:E0:C1 name=137user \
password=137 profile=4Mbps
add comment=10..feb/30drhm name=138user password=138
add comment=super name=khurram password=khurram001 profile=4Mbps
add name=swamy123 password=123 profile=4Mbps
add comment="khawaja campboss" mac-address=98:9C:57:12:F4:0F name=khawaja \
password=mohsin profile=4Mbps
add name=1
add comment="nabeel ka bhai " name=74041 password=74041 profile=4Mbps
/ip route
add distance=1 gateway=192.168.178.1 routing-mark=LOCAL_2
add distance=1 gateway=pptp-out2 routing-mark=LOCAL_3
add check-gateway=ping distance=1 gateway=192.168.5.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.6.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.5.1
add check-gateway=ping distance=2 gateway=192.168.6.1
/ppp aaa
set use-radius=yes
/ppp secret
add name=1 password=1 profile=PPTP service=pptp
add name=11 password=11 profile=PPTP service=pptp
add name=ppp1 password=1 profile=PPTP2 service=pptp
/radius
add address=192.168.2.107 disabled=yes secret=123456 service=hotspot timeout=\
3s
add address=127.0.0.1 secret=123 service=hotspot
/radius incoming
set accept=yes
 
User avatar
baragoon
Member Candidate
Member Candidate
Posts: 296
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 12:35 pm

are you sure that whatsapp using only 157.240.22.52?
to add route to 157.240.22.52 via vpn just type in terminal
/ip route add dst-address=157.240.22.52/32 gateway=pptp-out1
or gateway=pptp-out2 (you have 2 pptp-out connections)
 
shonu
newbie
Topic Author
Posts: 36
Joined: Sun Sep 16, 2018 1:25 pm

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 2:19 pm

i have many ip . but for try i add this only
just i do this setting then its its wprk with any my client with out connect vpn ?
 
User avatar
baragoon
Member Candidate
Member Candidate
Posts: 296
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 2:22 pm

i have many ip . but for try i add this only
just i do this setting then its its wprk with any my client with out connect vpn ?
yes.
if now this ip is inaccessible try if you can ping it after you add static route to it via vpn.
 
shonu
newbie
Topic Author
Posts: 36
Joined: Sun Sep 16, 2018 1:25 pm

Re: help : whatsapp ip pool connect with vpn

Tue Jan 29, 2019 10:54 pm

thnks for help me bro its working solve

Who is online

Users browsing this forum: JDF and 102 guests