Community discussions

MikroTik App
 
delkon
just joined
Topic Author
Posts: 1
Joined: Thu Sep 30, 2021 2:44 pm
Contact:

Local server gets itself from LAN by External IP

Thu Sep 30, 2021 2:56 pm

Hi,

I have a local server (e.g 192.168.0.2) with gitlab and gitlab runners on it. The server is accessible from Internet by DNS name (e.g dns-name.some) and External IP (e.g 83.99.163.2). Router forwarding 80,443 ports to 192.168.0.2 IP. In turn, gitlab runner on local server whats to access over gitlab on the same server with https://dns-name.some only

How to configure router to allow connection from 192.168.0.2 -> 83.99.163.2 -> which actually goes to 192.168.0.2 ?

Many thanks

p.s Log
dstnat: in:wlan1 out:(unknown 0), src-mac 74:da:38:f2:b6:40, proto TCP (SYN), 192.168.0.2:32898->83.99.163.2:443, len 60

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 34 guests