Community discussions

MikroTik App
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Web access from external

Wed May 25, 2016 11:47 pm

Hello, I want to manahe my Mikrotik router from external locate.

I want to change thw port number to 8080.

How could I add a firewall rule to do it?

I try with nat and firewall filters bit nothing.

Could yoy help to configure it?

Best regards.
 
mjsabri
Trainer
Trainer
Posts: 112
Joined: Sat Dec 12, 2015 10:55 am

Re: Web access from external

Thu May 26, 2016 3:55 pm

do you want access to RouterBoard on web ?
do you have a IP Public?
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: Web access from external

Fri May 27, 2016 9:38 am

do you want access to RouterBoard on web ?
do you have a IP Public?
Hello,

Yes, I want to access to RB from web.

I have a public IP.

Regards.
 
mjsabri
Trainer
Trainer
Posts: 112
Joined: Sat Dec 12, 2015 10:55 am

Re: Web access from external

Fri May 27, 2016 11:08 am

IP Public set on RB or DSL Modem ?
is active www in IP Service Menu?
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: Web access from external

Fri May 27, 2016 11:10 am

IP Public set on RB or DSL Modem ?
is active www in IP Service Menu?
Public IP in RB.
www is active in Service Menu.
 
mjsabri
Trainer
Trainer
Posts: 112
Joined: Sat Dec 12, 2015 10:55 am

Re: Web access from external

Fri May 27, 2016 11:12 am

what is IP Public and www Port ?
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: Web access from external

Fri May 27, 2016 2:10 pm

what is IP Public and www Port ?
I want to use 8080 port from external, it works in 80 port in LAN.

Regards.
 
mjsabri
Trainer
Trainer
Posts: 112
Joined: Sat Dec 12, 2015 10:55 am

Re: Web access from external

Fri May 27, 2016 5:18 pm

Change www Port to 8080 in Service Menu
Add the following command.
/ip firewall nat
add chain=dstnat dst-address=Local-IP-RB dst-port=80 protocol=tcp action=dst-nat to-addresses=Local-IP-RB to-port=8080
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: Web access from external

Sun May 29, 2016 10:42 am

Change www Port to 8080 in Service Menu
Add the following command.
/ip firewall nat
add chain=dstnat dst-address=Local-IP-RB dst-port=80 protocol=tcp action=dst-nat to-addresses=Local-IP-RB to-port=8080
Thanks again.

But I can not change the Service port, I want to access from port 80 by LAN and from 8080 port by WAN.

Best regards.
 
mjsabri
Trainer
Trainer
Posts: 112
Joined: Sat Dec 12, 2015 10:55 am

Re: Web access from external

Sun May 29, 2016 10:54 am

/ip firewall nat
add chain=dstnat dst-address=Public-IP-RB dst-port=8080 protocol=tcp action=dst-nat to-addresses=Public-IP-RB to-port=80
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: Web access from external

Tue May 31, 2016 10:45 pm

/ip firewall nat
add chain=dstnat dst-address=Public-IP-RB dst-port=8080 protocol=tcp action=dst-nat to-addresses=Public-IP-RB to-port=80
Thanks!

I did it this way:
/ip firewall nat add action=dst-nat chain=dstnat dst-port=8080 protocol=tcp to-ports=80
Best regards.
 
loveman
Member
Member
Posts: 348
Joined: Tue Mar 10, 2015 9:32 pm

Re: Web access from external

Sat Jul 23, 2016 11:16 pm

Change from
Ip service, in www
Change to 8080 apply ok
Now open browser
Write your public ip address with :8080 like
X. X. X. X:8080
 
josu
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: Web access from external

Tue Jul 26, 2016 9:17 am

Change from
Ip service, in www
Change to 8080 apply ok
Now open browser
Write your public ip address with :8080 like
X. X. X. X:8080
Thanks!
It works too.
Best regards.
 
loveman
Member
Member
Posts: 348
Joined: Tue Mar 10, 2015 9:32 pm

Re: Web access from external

Wed Jul 27, 2016 1:07 am

Change from
Ip service, in www
Change to 8080 apply ok
Now open browser
Write your public ip address with :8080 like
X. X. X. X:8080
Thanks!
It works too.
Best regards.
You welcome my friend
Regards

Who is online

Users browsing this forum: Ahrefs [Bot], GoogleOther [Bot], Laxity, Pinacolada88, sdamyt and 33 guests