loopback connection
Topics about the mikrotik user manager

3 posts   •   Page 1 of 1
User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
 
Posts: 82
Joined: Mon Jan 31, 2011 4:02 pm
Location: South Africa

loopback connection

by arthurmitch » Sat Feb 05, 2011 8:51 am

hey ok i have a big problem got my whole setup working but the programmer hardcoded the public ip adresses on my programs that he wrote and the programs are running on my local private network and i cannot get it to revert back to my public network without the connection going out, is there a loopback rule i can add so if somone uses ip 41.134.110.10 or ip 196.212.100.148 that it wont go out but revert back to my private ip.

User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
 
Posts: 82
Joined: Mon Jan 31, 2011 4:02 pm
Location: South Africa

Re: loopback connection

by arthurmitch » Sat Feb 05, 2011 11:44 am

oh forgot im using a module called pcc on my rb750 cuz im using 2 dsl routers for outgoing traffic.

i have setted up a pcc based setup all my rules are working right but the mikrotik does not redirect a public ip adress back to the user using ex: ftp connection on the same subnet like:

wan1:41.134.110.11 and wan2:196.212.100.148 wich is on my rb750 eth1

lan1:192.168.88.0/24

now on my local subnet i have a ftpserver with the adress 192.168.88.2 and im on my local subnet i try to access my ftpserver from outside my network like on my 3gphone with my wan ip 41.134.110.11 it works but on my local ip 192.168.88.0/24 it keeps on timeing out why does it do that?

User avatar
NetworkPro
Forum Guru
Forum Guru
 
Posts: 1345
Joined: Mon Jan 05, 2009 7:23 pm
Location: The World

Re: loopback connection

by NetworkPro » Sat Feb 05, 2011 9:51 pm

This is a NAT issue. Most probably.

For example this is how I (very often) config NAT for a port:

add action=dst-nat chain=dstnat comment="Remote Access to Switch" dst-address-type=local dst-port=1234 protocol=tcp to-addresses=10.11.12.13 to-ports=80
add action=src-nat chain=srcnat disabled=no dst-address=10.11.12.13 to-addresses=10.11.12.1

Where 10.11.12.1 is the address of the router. So it will seem as the connection is coming from the router.
wiki.mikrotik.com/wiki/UPnP_Multi-WAN <- CONTRIBUTORS WANTED
wiki.mikrotik.com/wiki/NetworkPro_on_Quality_of_Service <- contributors welcome

3 posts   •   Page 1 of 1

Who is online

Users browsing this forum: Aies and 7 guests

It is currently Tue Nov 25, 2014 12:18 am