Community discussions

MikroTik App
 
youtube345
just joined
Topic Author
Posts: 22
Joined: Sun Jan 19, 2020 12:44 pm

Routing Specific Website To LTE

Wed Apr 12, 2023 7:39 pm

Screenshot_9.jpg
lte1 functioning perfectly when i disconnect pppoe-out1. 192.168.88.251 my pc ip.


Here's the specific steps and settings that i did route only specific devices to lte1
Screenshot_7.jpg
Screenshot_8.jpg
Method 1 :

Step 1 : Create new Route table Enable "FIB"
Screenshot_5.jpg
Step 2 : Create new route for lte1
IP --> Routes --> Add New
Dst. Address: 0.0.0.0/0
Gateway: lte1
Routing Table: Select the table created in Step 1
Screenshot_1.jpg
Step 3 : Create route rule(s) for devices or specific traffic to use lte1

IP --> Routes --> Rules --> Add New
For device routing specifiy device IP in Src. Address

Action: lookup only in table

Table: Select the table created in Step 1
Screenshot_2.jpg
It not working .So i try second method.The same way i successful with my VPN.
---------------------------------------------------------------------------------------------------------------------------------------
Method 2 :
Step 1 : Create Address List
Screenshot_3.jpg
Step 2 : Create Mangle
Screenshot_4.jpg
Screenshot_6.jpg
It not working again. I can't access ipaddress.my to get lte1 IP. (My VPN work fine when i use this method)
You do not have the required permissions to view the files attached to this post.
 
youtube345
just joined
Topic Author
Posts: 22
Joined: Sun Jan 19, 2020 12:44 pm

Re: Routing Specific Website To LTE

Thu Apr 13, 2023 2:19 pm

someone help me please.
 
youtube345
just joined
Topic Author
Posts: 22
Joined: Sun Jan 19, 2020 12:44 pm

Re: Routing Specific Website To LTE

Sat Apr 15, 2023 8:35 am

Bump
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Routing Specific Website To LTE

Sat Apr 15, 2023 1:54 pm

Dont think its possible.
 
User avatar
spippan
Member
Member
Posts: 333
Joined: Wed Nov 12, 2014 1:00 pm
Location: Austria

Re: Routing Specific Website To LTE

Sat Apr 15, 2023 11:47 pm

for Method 2:

before you add the routing mark, first mark the connection

then add routing mark only to those marked connections
did a similar configuration for a company about a month ago
 
youtube345
just joined
Topic Author
Posts: 22
Joined: Sun Jan 19, 2020 12:44 pm

Re: Routing Specific Website To LTE

Tue Apr 18, 2023 8:45 pm

for Method 2:

before you add the routing mark, first mark the connection

then add routing mark only to those marked connections
did a similar configuration for a company about a month ago
/ip firewall address-list
add address=ping.eu list=TESTVPN

/routing table
add disabled=no fib name="Tables to VPN""

/ip firewall mangle
add action=mark-connection chain=prerouting dst-address-list=TESTVPN new-connection-mark=mc_vpn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=mc_vpn new-routing-mark="Tables to VPN" passthrough=no


/ip route
add comment=Enable/Disable disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wireguard1 pref-src=0.0.0.0 routing-table="Tables to VPN" scope=30 suppress-hw-offload=no target-scope=10

It not work even with my VPN.
------
But when i replace above mangle with this mangle. It work with my VPN (Not LTE)
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=TESTVPN new-routing-mark=Tables to VPN passthrough=no
 
youtube345
just joined
Topic Author
Posts: 22
Joined: Sun Jan 19, 2020 12:44 pm

Re: Routing Specific Website To LTE

Fri Apr 28, 2023 6:56 am

Bump
 
youtube345
just joined
Topic Author
Posts: 22
Joined: Sun Jan 19, 2020 12:44 pm

Re: Routing Specific Website To LTE

Wed May 03, 2023 5:12 pm

Bump

Who is online

Users browsing this forum: menyarito, morphema and 52 guests